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: $ts = Get-CMTaskSequence foreach ($t in $ts){      $path = "F:\TaskSequenceBackups"      $exportname = $t.Name +".zip"      Export-CMTaskSequence -TaskSequencePackageId $t.PackageID -ExportFilePath "$path\$exportname"      } code—-[ Change the file…

0

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

Configuring Hyper-V for multiple subnets with only one NIC (Server 2012 R2 Edition)

This is a follow post from my previous post Configuring Hyper-V for multiple subnets with only one NIC for Server 2008 R2. This post provides guidance as to how to achieve the same for Server 2012 R2. Check with support before doing this in a production environment. I use this configuration in my lab and…

11

Backup multiple SQL databases in a single swoop!

This is a query I use to backup all of my lab databases. I use System Center 2012 Orchestrator (SCORCH) to kick off a runbook which executes this query againsy my SQL servers to backup all of the databases. You know as well as I do, there are many ways to accomplish this task…some even…

4

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

OpsMgr 2012: Import Multiple Custom Management Packs with PowerShell

Hi all! Just wanted to share a small snippet that allows you to import multiple MPs into OpsMgr using PowerShell. Some info about my working environment: SPLOSCOM01- OpsMgr 2012 SP1 Management Server (UR3 applied)SPLOBU01 – Backup Server The script is rather basic…it loops through my MP backup directory on my backup server and imports each MP…

0

Introducing Windows 8: An Overview for IT Professionals (Free Ebook)

Saw this on the MS Press Blog and wanted to share for more exposure: This is not the full ebook…only the first 11 chapters… Windows 8 offers a lot of great new features for businesses and IT pros, as explained in this free ebook. Designed to help you prepare to deploy Windows 8, deliver apps,…

1