/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Azure Autopilot info via Get-WindowsAutoPilotInfo.ps1 - Getting empty results

04/28/2020 328 views

Trying to capture hardware ID using a script from https://www.powershellgallery.com/packages/Get-WindowsAutoPilotInfo/2.1 for our Upcomign Azure AD deployment, but having no luck so far. We have plenty of PS1 and bat files already setup, even using x86 and x64 environments.  By using 2&>1, @echo ON and etc, it seems script can't resolve hostname, but it's optional parameter really. Tried localhost, %hostname%, $env:computername  "$env:computername", $(env:computername ) and a lot of other crazy stuff to get this working. No luck alas. So far the only progress is empty file output created for this. 


tried via bat, PS1 files, coupled with SYSTEM , admin accounts and etc. 



Any advice is highly appreciated.

Thanks guys



0 Comments   [ + ] Show comments

Comments


Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ