How to get hardware hash value using powershell in remote machines for enrolling Intune Windows Autopilot feature RRS feed

  • Question

  • Following are the PowerShell script we use to fetch the properties needed for device enrollment, Our requirement is to run the below scripts in remote machines and capture the output file in a centralized location. 

    md c:\\HWID

    Set-Location c:\\HWID

    Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted

    Install-Script -Name Get-WindowsAutoPilotInfo

    Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv

    Wednesday, September 4, 2019 9:13 PM

All replies