Windows PowerShell Specification

Save the file with a .ps1 extension, for example: addcontenta.ps1. In PowerShell, navigate to the folder where you saved addcontenta.ps1 (D:\PowerShell\Files in the screen shot below) Issue this command: .\addcontenta (dot backslash filename) Stop the World Wide Web Publishing service. Using Windows PowerShell you can issue the command: stop ... ................
................