Powershell related code snippets

Listing SCCM 2012 R2 Applications with Orchestrator

As Orchestrator is guaranteed to grow in importance for most Microsoft based organisations, the need to query the Configuration Manager database becomes more important as well. 

Automated SCCM Application and Collection Creation

Windows Installer has been the default installation format on Windows machines for well over a decade now.  The technology was elegant and powerful but proved too complex for the subtle quirks to be fully understood by many people working with technology. 

Creating Complex SCCM 2012 Applications with Powershell

SCCM 2012 R2 is a great product but I have some strong disagreements with some elements of how it deals with software management.  By default, the product suggests that a Windows Installer Product Code can be used to uniquely identify when a package is installed to a machine.     This is a misunderstanding that “Product Codes” are not unique to Windows Installer packages – “Package Codes” are.  It also overlooks that the same utility or product may be installed in an organisation as different variants such as the “HR package” or the “Spanish package” or the “metric package”, all of which h

Powershell Remoting - Remotely enabling

I recently was on site in an organisation that needed the ability to remotely run commands against each of their deployed workstations.   As the organisation didn't have a software deployment system, powershell remoting appeared to be the answer.

There is a problem however.  Even though Group Policy  allows Windows Remote Management to be enabled on remote machines, you'll find it doesn't actually work.  


Subscribe to RSS - PowerShell