mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-13 05:47:23 +00:00
new doc
This commit is contained in:
parent
b307ca0b15
commit
79340abdf2
@ -139,11 +139,12 @@ Alternatively, the [WindowsAutoPilotInfo Powershell script](https://www.powershe
|
|||||||
Set-Location c:\HWID
|
Set-Location c:\HWID
|
||||||
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted -Force
|
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted -Force
|
||||||
Install-Script -Name Get-WindowsAutopilotInfo -Force
|
Install-Script -Name Get-WindowsAutopilotInfo -Force
|
||||||
$env:Path += ";C:\Program Files\WindowsPowerShell\Scripts"
|
|
||||||
Get-WindowsAutopilotInfo.ps1 -OutputFile AutopilotHWID.csv
|
Get-WindowsAutopilotInfo.ps1 -OutputFile AutopilotHWID.csv
|
||||||
```
|
```
|
||||||
|
|
||||||
>If you are prompted to install the NuGet package, choose **Yes**.
|
>If you are prompted to install the NuGet package, choose **Yes**.
|
||||||
|
>If, after installing the script you get an error that Get-WindowsAutopilotInfo.ps1 is not found, verify that C:\Program Files\WindowsPowerShell\Scripts is present in your PATH variable.
|
||||||
|
>If the Install-Script cmdlet fails, verify that you have the default PowerShell repository registered (**Get-PSRepository**) or register the default repository with **Register-PSRepository -Default -Verbose**.
|
||||||
|
|
||||||
The script creates a .csv file that contains the device information, including the complete 4K HH. Save this file so that you can access it later. The service facility will use this 4K HH to reregister device as described below.
|
The script creates a .csv file that contains the device information, including the complete 4K HH. Save this file so that you can access it later. The service facility will use this 4K HH to reregister device as described below.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user