About two weeks ago I was finishing up writing an upcoming PowerShell book together with fellow MVP Mikael Nystrom. During the book development process we ran into having to configure a MDT 2013 deployment share, and since it’s a PowerShell book, of course we wanted to do it in PowerShell. So, here is how…
Creating a MDT 2013 Deployment Share
To configure/modify a deployment share, you need to have one. I already posted an article on that part, so please use this script to create one:
Creating the MDT 2012/2013 Deployment share using PowerShell http://www.deploymentresearch.com/Research/tabid/62/EntryId/102/Creating-the-MDT-2012-2013-Deployment-share-using-PowerShell.aspx
Configuring a MDT 2013 Deployment Share
The script in the previous section creates a deployment share in the C:\MDTProduction\DS folder. Here is how it looks when opened in Deployment Workbench:
Now, I wanted to configure the settings of my deployment share. To do that you use the Set-ItemProperty, like this:
After running the above PowerShell script, here is the updated deployment share settings.
If you want to enumerate the settings, you can use the Get-ItemProperty.
You can of course also create an object and use that:
/ Johan Arwidmark