I like to do everything from my Windows 7 machine.
One administration point with all of my scripts.
So I wanted to access my MDT 2010 server thru PowerShell
from It too.
As default this will not go.
You need to Add-PSSnapIn
Add-PSSnapIn Microsoft.BDD.PSSnapIn
And you will not have that on your Windows 7 machine
out of the box. But It’s not that hard to fix.
Just install MDT 2010 on the Windows 7 machine as well.
This is a 10 MB installation file only
No problem!
And now we can access our MDT solution remote with
PowerShell.
This is a small test script
cls Add-PSSnapIn Microsoft.BDD.PSSnapIn New-PSDrive -Name MyMDT -PSProvider MDTProvider -Root \\padc01\DeploymentShare$ cd MyMDT: dir
And the output will be something like
WARNING: column "CurrentLocation" does not fit into the display and was removed.
Name Used (GB) Free (GB) Provider Root
—- ——— ——— ——– —-
MyMDT MDTProvider \\padc01\DeploymentShare$
Name : Applications
Name : Operating Systems
Name : Out-of-Box Drivers
Name : Packages
Name : Task Sequences
Name : Selection Profiles
Name : Linked Deployment Shares
Name : Media
No related posts.
[Blog] MDT 2010 + PowerShell from Windows 7: How to access remote MDT 2010 server with PowerShell from Windows 7, http://bit.ly/8RSvOl
RT @walle75: [Blog] MDT 2010 + PowerShell from Windows 7: How 2 access remote MDT 2010 …, http://bit.ly/8RSvOl
RT @ravikanth: RT @walle75: [Blog] MDT 2010 + PowerShell from Windows 7: How 2 access remote MDT 2010 …, http://bit.ly/8RSvOl
RT @ravikanth: RT @walle75: [Blog] MDT 2010 + PowerShell from Windows 7: How 2 access remote MDT 2010 …, http://bit.ly/8RSvOl