Unable to query Registry during task sequence – Property does not exist at path using Get-ItemProperty

Hi, As part of the MDT build process we set a couple of Registry Keys to tell us the status of the build (I.e in build or finished build) For logging purposes I retrieve the value of 2 keys from the registry, however when running the following command I get… Read more »

Custom PowerShell Objects

      No Comments on Custom PowerShell Objects

Ever wanted to have a custom PowerShell Object with custom property attributes? This can make your console output cleaner, and I also find it very useful when using Export-CSV. For the purpose of this post I’ve created an object that has 3 properties: “Hostname”, “Enabled”, and “NetworkUp”. The “Hostname” property… Read more »

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 »