Get-CMTSAgentSetupInfo (Get ConfigMgr Task Sequence Agent Setup Step Info)

We recently performed an upgrade of our ConfigMgr 2012 R2 Infrastructure and due to way how we install the Agent and Agent patches, we had to update the “Setup Windows and ConfigMgr” step within a number of our Task Sequences. I therefore wrote the below Get-CMTSAgentSetupInfo.ps1 PowerShell script which dumps all the ConfigMgr Agent Setup step information from all or specified task sequences. The script retrieves the following information: Task Sequence Name Agent Instalaltion propoerties Read More …

PowerShell Script to detect ConfigMgr Task Sequence unfriendly Software Updates

Update: 15 Une 2014 – Added KB2965788 If you’re dealing with ConfigMgr and OS Deployment task sequences you’re probably aware of the KB article recently published by Microsoft called “Task sequence fails in Configuration Manager if software updates require multiple restarts”. Let’s hope the list of KBs causing this issue isn’t going to grow too much over time, in any case we’ve decided that we would continue to review the article whenever we add new Read More …

Integrating DaRT 8.0 SP1 Remote Connection into the SCCM 2012 OSD Process

While preparing for an SCCM 2012 upgrade, I thought it might be a good idea to consider implementing some of the best practices that are around such as integrating the DaRT Remote Connection tool into the OSD deployment process. I’m sure it comes in handy when having to troubleshoot OSD related tings, as it allows us to access the client remotely without having to give lengthy instructions to an onsite engineer. I know others have Read More …

How to automate SCCM 2012 Task Sequence Media Creation

Just recently I went through the CM12 Console Task Sequence media creation wizard several times a day, so at some point I thought, this is a good candidate for automation. If you have CU1 for SCCM 2012 SP1 already installed, you can take advantage of the new cmdlet New-CMTaskSequenceMedia Below an example. CreateTaskMedia.ps1

If you haven’t installed CU1 yet, no worries. the command line tool CreateMedia.exe located in the SCCM Administrator Console’s bin directory Read More …

List Task Sequence Variables and Values Script

For years I have been using the following script from myITforum to list Task Sequence Environment Variables and Values Set oTSEnv = CreateObject("Microsoft.SMS.TSEnvironment") For Each oVar In oTSEnv.GetVariables WScript.Echo oVar & "=" & oTSEnv(oVar) Next Because there are so many variables, the only useful way to use the script is to pipe the output into a file, then open that file and search for the variable and its value. So I have created the created Read More …