PowerShell: AD / SCCM Workstation Cleanup Script Version 3.0

I just realized, I still haven’t posted the script that removes SCCM resources, alongside Active Directory cleanup. I had written a version 3.0 of a script I previously posted, but never posted it. So, here it is (I haven’t tested it in a while): Disclaimer: I am not responsible for what you do with this … Read morePowerShell: AD / SCCM Workstation Cleanup Script Version 3.0

PowerShell: Enable / Disable Wake-on-LAN (in ConfigMgr)

Hello from Houston, Texas everyone! Today I’ve got a PowerShell script that was specially developed for my consulting engagements going forward. When implementing 1E WakeUp at a customer, who is integrating it with ConfigMgr (to wake up machines using Software Distribution and Software Updates assignments), I have found that occasionally, a customer has already enabled … Read morePowerShell: Enable / Disable Wake-on-LAN (in ConfigMgr)

Exporting ConfigMgr Task Sequences

This article will briefly discuss how to export a ConfigMgr OSD task sequence. The SMS_TaskSequencePackage class has a lazy property named Sequence which contains the XML for the task sequence. Because this is a lazy property, we must obtain a reference to each WMI instance using its direct path, before we can open the property’s … Read moreExporting ConfigMgr Task Sequences

List of WMI Privileges

Microsoft has a published list of optional WMI privileges at the following link: http://msdn.microsoft.com/en-us/library/aa392758(VS.85).aspx These privileges are sometimes necessary for enabling certain operations in WMI. For example, if you do not specify the Security privilege when accessing instances of the Win32_NTLogEvent WMI class, you will not be able to view event log entries from the … Read moreList of WMI Privileges

Windows API Code Pack

There is some free code available on the MSDN Code Gallery, called the Windows API Code Pack for Microsoft .NET Framework, which enables .NET developers to access certain Windows 7 features that are not typically available via the .NET Base Class Library (BCL). Naturally, since this is .NET code, the same functionality ought to be … Read moreWindows API Code Pack

Uploading a Video to Youtube via PowerShell

Hey guys! I know it’s been a long time since I have posted anything useful (that is, assuming anything I post is useful! haha). While sitting at Starbucks today, I suddenly came up with an idea for a new post though, and after doing a quick bit of research, figured I would write about it! … Read moreUploading a Video to Youtube via PowerShell

PowerShell: Allowing all file exts. for ConfigMgr

When running Configuration Manager 2007 on Windows Server 2008, you must enable certain file extensions in IIS, so that a BITS-enabled distribution point (DP) can transfer files correctly. See this Technet article for more information. If you would like to enable all of the file extensions on a BITS-enabled DP, simply run the following PowerShell … Read morePowerShell: Allowing all file exts. for ConfigMgr

PowerShell: Making WebDAV Configuration Edits on Server 2008

If you’re configuring a Windows Server 2008 system to be a ConfigMgr site system, you may have noticed that you need to make some changes to the WebDAV configuration in IIS. Unfortunately, making those changes through the IIS GUI doesn’t always work quite right. Instead of digging around inside of an XML file though, you … Read morePowerShell: Making WebDAV Configuration Edits on Server 2008

PowerShell: Getting started with WMI Events

Introduction PowerShell version 1 provided good integration with WMI using the Get-WmiObject cmdlet, allowing you to easily retrieve and modify WMI instances, and call WMI methods, but PowerShell v2 has taken it, and many other things, a lot farther. One of those areas is eventing, and not just WMI eventing, but responding to WMI events … Read morePowerShell: Getting started with WMI Events

Intel vPro: Finding AMT Objects in Active Directory

If you are using Out Of Band (OOB) Management in Microsoft System Center Configuration Manager (SCCM) 2007 SP1 (or greater) to manage your Intel vPro clients, you may have noticed that computer objects are created in your Active Directory domain during provisioning of the Intel vPro firmware. These computer objects are created by the amtproxymgr … Read moreIntel vPro: Finding AMT Objects in Active Directory