Category Archives: PowerShell

Using Task Sequence variables in a PowerShell script

Hi Again, In my last entry I posted a script that uses the following line of code:

Running the above code during the build process (i.e. inside the Task Sequence) lets me interact with any Task Sequence variable. I can obtain the value of any variable in the Task Sequence… Read more »

DISM cmdlets fail to run in WinPE (MDT 2013 Update 1)

Hi All, We’ve recently started using MDT 2013 Update 1 and we’ve noticed some of the scripts that worked seamlessly in 2012 have started producing errors. We use the DISM PowerShell cmdlets to verify the consistency of WIM files post backup. If the cmdlet fails to verify the WIM file… Read more »