Here is another script I quickly put together so that i can do a quick tidy up of our Task sequences after i moved them all into an OLD folder. Hopefully saves some time from right clicking and going through the painful process of deleting and un-deploying.

for some reason i guess due to it using the WMI Query of the host i had to do this on the actual server and not a client side.



$SiteCode = "HSC"

$FolderName = "old"

$TS = Get-WmiObject -Namespace ROOT\SMS\site_$SiteCode -Class SMS_TaskSequencePackage -Filter "ObjectPath = '/$FolderName'" | select Name



Foreach ($i in $TS)




 Remove-CMTaskSequenceDeployment -Name $




Published in SCCM 2012

For Anyone looking for a quick and easy way to deploy all you applications to a test deployment fire up your powershell ISE and connect to your SCCM DP.

The reason for me using this is when creating our golden image process when installing all our applications i notice that some fail.   by me having this in Software centre ready to go i can fire up a base image, install each application individually and see what error comes up.



$applications = Get-CMApplication | Select LocalizedDisplayName

foreach ($app in $applications){


New-CMApplicationDeployment -CollectionName “Test Deployment” -Name $app.LocalizedDisplayName -DeployAction Install -DeployPurpose Available -UserNotification DisplayAll -AvailableDateTime (get-date) -TimeBaseOn LocalTime -Verbose





Published in SCCM 2012

Setting Business Hours 

Published in SCCM 2012

Building An Image - SCCM 2012 R2

Thursday, 30 November 2017 00:00

Introduction into building an image with SCCM 2012r2 and capturing it for later deployment.

Published in SCCM 2012

SCCM 2012 - Creating Device Collections From an Active Directory Organizational Unit

Published in SCCM 2012

WSUS Crashing Reset Server + SCCM Errors

Friday, 27 January 2017 00:00

Recently coming through the issue of our update deployments failing and not pushing out to our clients we have noticed the following errors, Thankfully i have seen this before with another KB update in which did something simular.

Published in SCCM 2012

WSUS Resintall Crashing Upon Setup

Thursday, 20 October 2016 00:00

Our SCCM server is once again causing me headaches after a few days of not applying updates i noticed that our WSUS service (infact it was our IIS service affecting our WSUS) was not playing nice.

Published in Windows Server

We recently went through the process of updating our enviroment computers from professinal > enterprise to allow direct access.

we tried a few methods in which alot of trial and error was put through the best way of doing so in a windows 10 enviroment, since our previous method for windows 7 devices seemed it wasn't running at a 100% success rate we tried the method of a PPKG, in which worked when run manually,

Published in Microsoft


Thursday, 02 June 2016 00:00

When trying to Capture the following error code apprears:800705AA


Possible Cause: Could it be that the client does not have enough RAM?

Published in SCCM 2012

PXE Boot Error 0xc0000001 - TFTP block Size

Wednesday, 20 June 2012 00:00


Working with SCCM throwing error 0xc0000001 Fixing it by reducing your TFTP Block Size

Published in SCCM 2012