PowerShell Uninstall Automation

I have authored the PowerShell Uninstall script.  It gives the ability for IT Operations / ConfigMgr Admins to uninstall multiple versions of a particular software with one process.

Does your organization struggle when trying to cleanup software when standardizing on a application version? I.E. Oracle Java, Adobe Flash, RightFax, IBM products, etc…  Not all the versions you have are in ConfigMgr / SCCM or not in the application model?  If the answer is yes, the PowerShell Uninstall script is for you.

The PowerShell Uninstall script takes inputs from a CSV file.  Using the delimiter of “^”, don’t worry I have included a Excel file to build your CSV.

Since by nature when uninstalling legacy software there maybe pre-or post- process you must run. The PowerShell Uninstall script has functions to call a PowerShell script before or after the uninstall logic.

The PowerShell Uninstall script also includes a Boolean to  create the script as an ConfigMgr / SCCM Application.  In which you can attach to other programs for requirements.

To detect the PowerShell Uninstall script, have ConfigMgr / SCCM check existence of “%SystemDrive%\Program Files\Pomeroy\AppName”.  It will be an empty directory.  For the uninstall just use the command “rmdir /Q /S %SystemDrive%\Program Files\Pomeroy\AppName”

Continue reading

SCCM 2012 Visio Low Level Overview

I have created an SCCM 2012 Visio overview.  This after searching high and low, and even asking Microsoft for a Visio diagram, and my searches ending in zero.

The SCCM 2012 Visio just shows a cookie cut / low level overview.  This is by no means a solution for every organization.  The diagram involves different hierarchy options. Not all sites will have a CAS, two primaries, or even secondary sites.

You can either save the SCCM 2012 Visio JPG for you consumption or click below to download the SCCM 2012 Visio PDF version.

SC2012_CM_LowLevel_Overview

SCCM 2012 Visio PDF

System Center 2012: PowerShell – Connecting to Configuration Manager

From over on the TechNet blogs, explains the PowerShell connection with System Center 2012

Welcome to installment #2. In case you missed installment #1 – Getting Started – here’s the link. With the Getting Started blog, you tried a few basic Windows PowerShell cmdlets. I hope you took a bit of time to explore what other cmdlets are available in Windows. But now it’s time to get Configuration Manager hooked up to your PowerShell environment. Let’s start with the easy method………

Read the full post over on the “System Center Configuration Manager Team’s Blog Site”……

http://blogs.technet.com/b/configmgrteam/archive/2013/03/27/powershell-connecting-to-configuration-manager.aspx

SCCM Admin Tools

I have created a new tool, SCCM Admin Tools, using the new SAPIEN PowerShell Studio 2012.This tool will become more robust, but for right now all you can do is remotely start / stop / or check status of the SMSEXECUTIVE and WDSServer services on your SCCM sites.

You will be able to save the settings for the site server’s name and site code.  You will want to use your central site if you have one.  Or the top most primary.

Here are some screenshots:

 

You can download the executable from here.  Get in touch with me if you have any other suggestions. Once I get the application to a certain goal I will release the source files.

SCCM Admin Tools v1.3.2.1

Snow Land’s SCCM-Commands

I have had the privilege of getting my hands on the SAPIEN PowerShell Studio 2012.  Using SCCM-Commands on the backend is so easy.  As a SCCM Administrator I have mostly focused right now on making my life easier on the job.  Cutting all the unnecessary process I need to do manually.  So if you are an SCCM Administrator and you love you some PowerShell than check this link out.

http://www.snowland.se/sccm-posh/

This is a great module.