One nice thing with MDT 2010 is the possibility to
make folders in the Application folder.
I like a nice structure of things and with PowerShell
I can make my structure for MDT 2010 Applications,
Operating Systems and Drivers in no time.
cls $MDTName = "MyMDT" $MDTServer = "\\padc01" $MDTApplications = "Antivirus", "Browser", "Office", "Twitter", "Security", "Server" Add-PSSnapIn Microsoft.BDD.PSSnapIn New-PSDrive -Name $MDTName -PSProvider MDTProvider -Root $MDTServer\DeploymentShare$ foreach ($MDTApp in $MDTApplications) { New-Item -path "$MDTName:\Applications" -enable "True" -Name "$MDTApp Applications"
-Comments "$MDTApp Applications" -ItemType "folder" -Verbose -ErrorAction SilentlyContinue }
9 lines of code can make 50 folders in 50 sec ![]()
And you can make it in less lines!
Technorati Tags: PowerShell,MDT 2010
[Blog] Application folders in MDT 2010 + PowerShell: One nice thing with MDT 2010 is the possibility to make fol… http://bit.ly/4sIQOP
[Blog] Application folders in MDT 2010 + PowerShell: One nice thing with MDT 2010 is the possibility to make fol… http://bit.ly/4sIQOP
Application folders in MDT 2010 + PowerShell | Dalle & DXter http://ow.ly/ZRLr