Skip to content

Instantly share code, notes, and snippets.

@ifrahim
Created February 26, 2014 15:25
Show Gist options
  • Save ifrahim/9231565 to your computer and use it in GitHub Desktop.
Save ifrahim/9231565 to your computer and use it in GitHub Desktop.
Run PowerShell with elevated permissions (IIS Module)
# To run PowerShell with elevated permissions for IIS Module, run through the following steps
# Create a PowerShell shortcut and update its target path as:
# %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "import-module webadministration | out-null"
# This will import IIS Module in PowerShell enabling you to access IIS services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment