Share via


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

Question

Tuesday, September 3, 2019 10:14 PM

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

All replies (2)

Wednesday, September 4, 2019 7:27 AM

Hi, 

I would recommend to ask for script forum or PoweShell forum for PowerShell issue with the link below. They should more familiar with this issue and should have more resource to help you.

https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG%2Cwinserverpowershell&filter=alltypes&sort=lastpostdesc

Bests, 

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


Tuesday, October 1, 2019 9:11 AM

Hi,

We would like to know if my reply in your thread is helpful for your issue. If yes, we are appreciate if you could mark useful replies an answer.

Bests,

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.