Author: mteegarden

Delete-SCCMCollectionRule : Addition to the SCCM-Commands.psm1

Did you know that there is SCCM-Commands powershell module?  You can get them here:  http://www.snowland.se/sccm-posh/ Today I had a need to delete a collection member.  But there isn’t a function in the SCCM-Commands powershell module that can do that. Well, there is now!!  Just copy this function into the SCCM-Commands.psm1 file   Function Delete-SCCMCollectionRule { […]

Yeah, I am pretty much the best thing since sliced bread!

Bravo! IT colleague takes the initiative to launch a money-saving training programJuly 06, 2011 Photo: Matthew Teegarden of Information Technology is passionate about training and finding cost-effective solutions. Matthew Teegarden isn’t one to sit idle when something needs to get done, so when he heard Information Technology colleagues cite concerns about the availability of training, […]

SCUP 2011

SCUP (System Center Updates Publisher) 2011 is out.  You can download it here:  http://technet.microsoft.com/en-us/systemcenter/bb741049 There is a TON of information on the above link.  However, you do need to configure a few things that you need to do in Group Policy. First you need to configure a GPO with the following:  Computer > Administrative Templates […]

PowerShell–AD Module

Searching AD for a specific attribute using the get-aduser function from the ActiveDirectory PowerShell module. First the ActiveDirectory module needs to be loaded.  You can check to see if the module is available by typing: Get-Module -listavailable If you don’t see the ActiveDirectory module you will need to download the RSAT.  To load the module […]

PowerShell–Get ACL with a readable path

When you want to run the Get-Acl cmdlet against a directory, the path property in the results is a bit messy.  Example: Get-Childitem C:\Labs -recurse | Get-Acl | Format List Path, Owner, Access We can clean up the Path property by using a custom label with a substring Get-Childitem C:\Labs -recurse | Get-Acl | Format […]

Powershell–Comparing processes

This week I am teaching a PowerShell v2.0 class at Benchmark Learning.  During the class I usually show the following demo. # Get the current running processes $Baseline = Get-Process # Create some new processes Calc Notepad # Capture the current running processes $Now = Get-Process # Compare the two variables Compare-Object $Baseline $Now The […]

Top