Gallery.technet.microsoft.com

7. On the VM, open Windows PowerShell with Administrator privileges. Run the script by typing the folder location and file name of the script. For example, if the file name of the script is FabrikamApp1.ps1 and the folder location is C:\Users\Administrator\Documents, type C:\Users\Administrator\Documents\FabrikamApp1.ps1, and then press ENTER. ................
................