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 0 Rick 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.

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

A Simple Introduction to Cisco CML2

0 3703 0

Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2

How to use the PowerShell Script Analyzer to Clean Up Your Code

0 1229 2

In this video, PowerShell instructor Jason Yoder demonstrates how you can use the PowerShell Script Analyzer to help you format your code to best-practices. For instructor-led PowerShell training classes, see our course schedule: Microsoft Windows PowerShell Training Download the PowerShell Analyzer scripts used in this video. <# ╔══════════════════════════════════════════════════════════════════════════════╗ ║ ║ ║ PowerShell Script Analyzer ║ … Continue reading How to use the PowerShell Script Analyzer to Clean Up Your Code

Configuring Windows Mobility Center and How to Turn it On and Off

1 1413 1

Video transcription Steve Fullmer: In our Windows training courses, we often share information about the Windows 8.1 Mobility Center. Mobility Center was introduced for mobile and laptop devices in Windows 7. It’s present and somewhat enhanced in Windows 8. Since we don’t have mobile devices in our classrooms, I decided to take a little bit … Continue reading Configuring Windows Mobility Center and How to Turn it On and Off

Write a Comment

Share your thoughts...

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