My very first step was to add the Microsoft.BDD.PSSnapIn.
Add-PSSnapin Microsoft.BDD.PSSnapin
And then I could make a new PSDrive
New-PSDrive -Name MyMDT -PSProvider MDTProvider -Root \\psdc01\DeploymentShare$
When I have a PSDrive I can access it thru
cd MyMDT:
dir
Name
—-
Applications
Operating Systems
Out-of-Box Drivers
Packages
Task Sequences
Selection Profiles
Linked Deployment Shares
Media
This means that I can access my MDT solution and do
everything with PowerShell. I’m in love!
But It will get better.
To learn much and fast about how to do tasks with PowerShell you can
use the MDT Workbench.
A simple and nice task is to create a folder for every Office application
that you want to add.
With the Workbench we do like this.
On the last picture, on the right, just above finish
you got “View Script”.
This will open Notepad with a full .ps1 script
with the task that you did in the workbench.
This is nice!
Thanks DXter for the heads up on this.
More on MDT 2010 and PowerShell will come soon.
No related posts.
RT @walle75: [Blog] First step with MDT 2010 and PowerShell: My very first step was to add the Microsoft.BDD.PSSnapIn. http://bit.ly/8QRpCY
[Blog] First step with MDT 2010 and PowerShell: My very first step was to add the Microsoft.BDD.PSSnapIn.
Add-PSSn… http://bit.ly/8QRpCY
RT @walle75: [Blog] First step with MDT 2010 and PowerShell: My very first step was to add the Microsoft.BDD.PSSnapIn. http://bit.ly/8QRpCY