PowerShell: Export all ConfigMgr 2012 R2 task sequences

Here’s a quick script that will export all of your task sequences in ConfigMgr 2012 R2: ]—-code Import-Module ‘F:\Program Files\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1’ CD ‘F:\Program Files\Microsoft Configuration Manager\AdminConsole\bin’ CD CM0:       #Change ‘CM0’ to your site code $ts = Get-CMTaskSequence foreach ($t in $ts){      $path = “F:\TaskSequenceBackups”      $exportname = $t.Name +”.zip”      Export-CMTaskSequence -TaskSequencePackageId $t.PackageID…

2

Convert ConfigMgr 2012 R2 Active Directory Site Boundaries to IP Subnet Boundaries

My colleague and I (Nathan Olmstead) are in the process of migrating a ConfigMgr 2012 SP1 environment to a newly built ConfigMgr 2012 R2 environment. The SP1 environment is in pretty rough shape and more complex than it needed to be, so, it was decided to start over fresh. We just stood up our new site and we're…

2

SCOM 2012 R2 UR2 Agent Update Patch not applying via the console

I ran into an issue when upgrading my SCOM 2012 R2 environment to UR2, where a number of agents didn't receive the agent patch even though they were Approved via Pending Management. There are a number of ways to fix this such as using ConfigMgr to update the agents, Manually updating each agent, or you…

0

Identifying unused App-V 4.6 SP2 applications and writing them to a new multi-string reg key for easy identification

I ran into an interesting situation with a customer a while back where they needed a way to identify the virtual applications that weren’t being used on the workstations in their environment. Due to the state of their environment, we weren’t able to pull information from the App-V server because the App-V clients weren’t sending their…

0

Useful cmdlets for System Center 2012 Service Manager using SMlets

The following code snippets were used to modify data in the SCSM environment I was working in. Using the SCSM PowerShell Cmdlets (http://smlets.codeplex.com/), I was able to achieve it a lot easier than using the built-in PowerShell cmdlets for SCSM. As always, make sure you check the product documentation, check with Microsoft support and test in…

2