PowerShell 3.0 Advanced Administration Handbook by Powershell 3 0 Advanced Administration Handbook 2013

PowerShell 3.0 Advanced Administration Handbook by Powershell 3 0 Advanced Administration Handbook 2013

Author:Powershell 3 0 Advanced Administration Handbook 2013
Language: eng
Format: epub
Publisher: Packt Publishing


Adding roles or features by using PowerShell

PowerShell cmdlets can be used for server management. In Windows Server 2012, we can use the Get-WindowsFeature cmdlet to retrieve roles and features that are available on a computer. We can see the features that have been installed; those features will be marked with checkboxes ([X]) in its display name. The Install-WindowsFeature and Uninstall-WindowsFeature cmdlets are used for installing and uninstalling a role or feature:

Open a PowerShell session with elevated user rights. To do this, navigate to Start | All Programs | Accessories | Windows PowerShell and right-click on the Windows PowerShell shortcut. Then click on Run as administrator.

Load the Server Manager module into the PowerShell session before working with Server Manager cmdlets. Type the following and press Enter:Import-Module Servermanager



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.