If you are performing any type of administrative tasks on Windows Server 2012 or Windows Server 2012 R2, you will probably want to import the ServerManager module.
You can normally do this at the top of any PowerShell script, by simply typing:
Import-Module ServerManager
However, if you are working with PowerGUI, you can easily add ServerManager so that it is available for ALL of your PowerShell scripts!
You can normally do this at the top of any PowerShell script, by simply typing:
Import-Module ServerManager
However, if you are working with PowerGUI, you can easily add ServerManager so that it is available for ALL of your PowerShell scripts!
- Start by selecting File-->PowerShell Libraries
- If you search for the ServerManager module, you will notice that it is not there already.
- You will have to click on Add Module...
- Type in ServerManager and click OK.
- You will then see that the ServerManager module will load into PowerGUI.
- You will now have Intellisense available for all ServerManager PowerShell tasks!
No comments:
Post a Comment