mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-15 18:33:43 +00:00
Merge pull request #2797 from Jcoetsee/patch-2
change made to unrestricted powershell cmd
This commit is contained in:
@ -53,7 +53,7 @@ To use this script, you can download it from the PowerShell Gallery and run it o
|
|||||||
```powershell
|
```powershell
|
||||||
md c:\\HWID
|
md c:\\HWID
|
||||||
Set-Location c:\\HWID
|
Set-Location c:\\HWID
|
||||||
Set-ExecutionPolicy Unrestricted
|
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted
|
||||||
Install-Script -Name Get-WindowsAutoPilotInfo
|
Install-Script -Name Get-WindowsAutoPilotInfo
|
||||||
Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv
|
Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user