PowerShell CMDLETS support for Windows Deployment Services (WDS)

Home > Blogs > PowerShell > PowerShell CMDLETS support for Windows Deployment Services (WDS)

PowerShell CMDLETS support for Windows Deployment Services (WDS)

Like This Blog 0Rick Trader
Added by November 6, 2013

Windows Deployment Services (WDS) PowerShell CMDLETS have long been awaited for and they have arrived in Windows Server 2012 R2 with PowerShell 4.0.

Windows PowerShell is a tasked based command line shell consisting of a verb-noun syntax.  PowerShell is also a scripting language designed to assist administrators in automating tasks.  There are 33 new CMDLETs specifically for WDS.

The WDS manifest will not be available to import or use until after you install the WDS role. To view the available manifests that can be imported launch PowerShell and type get-module –listavailable.

Notice the WDS manifest is not available?

001-PowerShell-CMDLETS-support-for-Windows-Deployment-Services

After installing WDS the manifest is now available.  Launch PowerShell and type Get-Module –Listavailable.  One thing I do want to point out.  A lot of blogs and even the Technet article on WDS cmdlets list the manifest as WindowsDeploymentService note the manifest is named simply WDS.

002-WDS-PowerShell-CMDLETS-support-for-Windows-Deployment-Services

The new inline feature PowerShell does not require you import the manifest for use. To view just the cmdlets for WDS, type Get-Command –Module WDS.

You may also like:  How to get Wireshark to work with Microsoft Windows Server 2012 R2

003-Get-Command–Module-WDS-PowerShell-CMDLETS-support-for-Windows-Deployment-Services

If you wanted to get the count of the number of WDS cmdlets available, type
Get-Command –Module WDS| measure.

004-Get-Command–Module-WDS-PowerShell-CMDLETS-support-for-Windows-Deployment-Services

To get help on any individual cmdlet type Get-Help cmdlet-name, for instance to get help on how to import a Boot Image into WDS using PowerShell , type Get-Help Import-wdsbootimage.

If this is the first time you have used the help system in PowerShell you will be prompted to update the help system (see images below).

005-Get-Command–Module-WDS-PowerShell-CMDLETS-support-for-Windows-Deployment-Services

006-Get-Command–Module-WDS-PowerShell-CMDLETS-support-for-Windows-Deployment-Services

007-Get-Command–Module-WDS-PowerShell-CMDLETS-support-for-Windows-Deployment-Services

To get additional information on how to use the Import-wdsbootimage cmdlet type one of the following;

Get-Help Import-wdsbootimage – examples, Get-Help Import-wdsbootimage –details
or
Get-Help Import-wdsbootimage –full or Get-Help Import-wdsbootimage –online.

Now it is time to get busy and get some WDS images created and deployed.

Until next time RIDE SAFE!!
Rick Trader
Windows Server Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

Windows 10 Managing, Deploying and Configuring – December 2, 2015

0 111 1

In this recorded Windows 10 training webinar from December 2, 2015, Windows Server instructor Rick Trader presents the deployment and management of Windows 10 Enterprise and the new Provisioning capability in Windows 10. Learn how to manage Windows 10 deployments using System Center Configuration Manager, Mobile Device Management and Intune. Also included in his presentation … Continue reading Windows 10 Managing, Deploying and Configuring – December 2, 2015

How to clone a Windows Server 2012 or 2012 R2 Domain Controller

0 132 2

One of the coolest new features in Window Server 2012 and Windows Server 2012 R2 is the ability to clone a Domain Controller. In the past, if we had virtualized Domain Controllers and we actually took a snapshot of it and then rolled back to that snapshot, it would break the logon service on that … Continue reading How to clone a Windows Server 2012 or 2012 R2 Domain Controller

Detailed Forensic Investigation of Malware Infections – April 21, 2015

1 79 1

In this IT Security training video, Security expert Mike Danseglio (CISSP / CEH) will perform several malware investigations including rootkits, botnets, viruses, and browser toolbars.

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.