Friday, August 9, 2013

SCCM Client Actions Tool PowerShell Edition aka PoshCAT

SCCM Client Actions Tool PowerShell Edition aka PoshCAT is a practical and simple PowerShell application for performing most common day-to-day administrative tasks on System Center 2012 Configuration Manager Clients. The tool allows running actions remotely on one or more computers simultaneously. A list of computers can be provided either from a file (CSV, TXT) or loaded from Configuration Manager Collection importer or through Add Computer prompt.

You can find the old version from here SCCMCAT - by Christjan Schumann.

Please read the documentation first!


· Multithreaded – 10 jobs at one time

· CSV reporting

· Configuration Manager 2012 Collection browser

· Configuration file for Client Actions

· Over 30 Client Actions ready to run

· Possibility to add own functions

· Support for two different job types

· Ability to create different Client Actions sets for different Support groups


Currently the tasks that can be performed are classified by 5 categories:

Tool Actions

Client schedule actions

· Hardware Inventory Cycle

· Software Inventory Cycle

· Discovery Data Collection Cycle (Send DDR)

· Machine Policy Retrieval & Evaluation Cycle

· Software Updates Deployment Evaluation Cycle

· Software Updates Scan Cycle

· File Collection Cycle

· Windows Installer Source List Update Cycle

· Software Metering Usage Report Cycle

Client agent actions

· Get ConfigMgr Client Management Point

· Restart SMS Agent Host service

· Get SMS Agent Host Service State

· Reassign ConfigMgr Client Site Code

· Create a new SMSCFG.ini file

· Reset ConfigMgr Client policies

· Repair ConfigMgr Client

· Uninstall ConfigMgr Client

· Get ConfigMgr Client Inventory Dates

· Get ConfigMgr Client Cache Information

· Remove ConfigMgr Client Cache Items

· Set ConfigMgr Client Cache Size

Client health actions

· Reset WMI Repository

· Salvage WMI Repository

· Get WMI Repository State

· Get Admin$ Share Status

Software Updates and Endpoint Protection Actions

· Get ConfigMgr Client WSUS Content Location

· Get Windows Update Agent Version

· Get Missing Updates

· Install Missing Updates

· Query Updates Status

· Start Endpoint Protection Full Scan

· Get Endpoint Protection Applied Policies

· Get Endpoint Protection Last Scan Date

Other actions

· Restart Computer

· Shut down Computer

· Ping Computer

· Get Reboot Pending State

· Log off current user

· Get logged-on user

· Get system uptime

PoshCAT requirements

· Windows Management Framework 3.0

· Microsoft .Net Framework 4.0 or newer

· Windows 7, Windows 8 or Windows Server 2012

· Administrative Permissions

· PowerShell remoting

Coretech License terms for using the product


These license terms are an agreement between Coretech A/S and you. Please read them. They apply to the software you are downloading from, which includes the media on which you received it, if any. The terms also apply to any Coretech A/S updates for this software, unless other terms accompany those items. If so, those terms apply.


If you comply with these license terms, you have the rights below.

1. INSTALLATION AND USE RIGHTS. You may install and use any number of copies of the software on your devices.

2. Scope of License. The software is licensed, not sold. This agreement only gives you some rights to use the software. Coretech reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not

· Work around any technical limitations in the binary versions of the software;

· reverse engineer, decompile or disassemble the binary versions of the software, except and only to the extent that applicable law expressly permits, despite this limitation;

· make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;

· publish the software for others to copy;

· rent, lease or lend the software;

· transfer the software or this agreement to any third party; or

3. DOCUMENTATION. Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.

4. SUPPORT SERVICES. Because this software is "as is," we may not provide support services for it.

5. Entire Agreement. This agreement, and the terms for supplements and updates that you use, are the entire agreement for the software and support services.

6. Applicable Law.

a. United States. If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.

b. Outside the United States. If you acquired the software in any other country, the laws of that country apply.

7. Legal Effect. This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.

8. Disclaimer of Warranty. The software is licensed "as-is." You bear the risk of using it. CORETECH A/S gives no express warranties, guarantees or

You can download the tool and documentation from here

Wednesday, January 2, 2013

Me + Coretech

Happy New Year!

1st of March I will start working in Denmark and I will continue my career in Coretech




Friday, October 19, 2012

Deploying IE9 and LIP packages for specific OS MUI

We are currently preparing to roll out Internet Explorer 9 and we also need to install specific IE language package for specific OS MUI. I created a simple PowerShell script that queries installed OS MUI-s and then it will install correct IE 9 language package.

#Install IE9            
$InstallIE9 = Start-Process IE9-Windows7-x86-enu.exe -ArgumentList "/quiet /norestart /update-no" -Wait -PassThru
if($InstallIE9.ExitCode -eq 0 -or $InstallIE9.ExitCode -eq 3010){

Set-Location "HKLM:\SYSTEM\CurrentControlSet\Control\MUI\UILanguages"
$ReqKeys = Get-ChildItem
foreach($item in $ReqKeys)
#Do Nothing
Start-Process IE9-Windows6.1-LanguagePack-x86-eti.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Write-Host "Installing et-EE"
Start-Process IE9-Windows6.1-LanguagePack-x86-fin.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-chs.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-csy.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-nld.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-fra.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-deu.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-hun.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-ita.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-jpn.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-plk.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-ptb.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-rus.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-esn.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-sve.msu -ArgumentList "/quiet /norestart" -Wait -PassThru
Start-Process IE9-Windows6.1-LanguagePack-x86-lvi.msu -ArgumentList "/quiet /norestart" -Wait -PassThru

Default {"Do Nothing"}

Exit $InstallIE9.ExitCode


You can download this script from here link (Install-IE9MUI.ps1)

Wednesday, October 3, 2012

How to measure Operating System Deployment

I posted to web one solution how to measure Operating system deployments. . This solution writes information to SQL database and you can create nice reports to your managers.
Sample SQL data

Sunday, July 1, 2012

My new project

Three weeks ago I started a new project called Configuration Manager 2012 PowerShell SDK. This website is for Configuration Manager administrators and developers who are looking How-To examples. I will try to convert all the examples to PowerShell

Site -  CM12SDK.Net


Awarded Configuration Manager MVP 2012!!!!!

Yesterday I received this email


Dear Kaido Jarvemets,

Congratulations! We are pleased to present you with the 2012 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in System Center Configuration Manager technical communities during the past year.


Friday, June 8, 2012

Adding Configuration Manager resources to collections GUI

I created a simple PowerShell GUI for adding Configuration Manager resources to collections. This tool reads TXT files. You can add users and devices with this tool


You can download this example from here ( This ZIP file contains example TXT files and a log file