O'Reilly logo

Windows PowerShell™ 3.0 Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17 quick reference

To

Do this

Assign a static IP address

Use the New-NetIPAddress cmdlet.

Install a new Windows feature or role

Use the Add-WindowsFeature cmdlet from the ServerManager module.

Restart a computer

Use the Restart-Computer cmdlet.

Find the index number of the active network adapter

Use Get-NetAdapter cmdlet and select the IfIndex property.

See what features or roles are installed on a server

Use the Get-WindowsFeature cmdlet, pipe the results to the Where-Object cmdlet, and filter on the installed property.

Add a Windows role as well as the associated management tools

Use the Add-WindowsFeature cmdlet and specify the -includemanagementtools parameter.

Create a new forest

Use the Install-ADDSForest cmdlet from the ADDSDeployment ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required