Skip to content

Instantly share code, notes, and snippets.

@techdecline
Created April 11, 2019 15:52
Show Gist options
  • Select an option

  • Save techdecline/d1ac3076074a16e99cdfc4b73fa30944 to your computer and use it in GitHub Desktop.

Select an option

Save techdecline/d1ac3076074a16e99cdfc4b73fa30944 to your computer and use it in GitHub Desktop.
Install-Script -Name Get-WindowsAutoPilotInfo -RequiredVersion 1.3
Get-InstalledScript
Get-InstalledScript | gm
Get-InstalledScript.installedlocation
(Get-InstalledScript).installedlocation
Mount-VHD -Path D:\vm\CM-Win10-AP.vhdx
Copy-Item -Path (Join-Path (get-installedscript).InstalledLocation -ChildPath Get-WindowsAutoPilotInfo.ps1) -Destination E:\
gci e:\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment