PowerShell: Removing a list of computers from Active Directory

@Kid_Zer0 on Twitter recently asked the following question: “Need to delete a list of computers from AD – anyone know how to do this in #PowerShell or #VBScript (List is from a file)” I’ve previously written several versions of an Active Directory cleanup script, but if you’re not seeking something that complicated, you can simply … Read morePowerShell: Removing a list of computers from Active Directory

PowerShell: Finding Currently Loaded DLLs

I was just browsing through the root\cimv2 WMI namespace this morning, using SAPIEN’s free WMI Explorer tool, when I happened across a WMI class called CIM_ProcessExecutable. In fact, what I was doing in a bit more detail, was going through the CIM_* classes, with the Instances tab selected, so I could discover if any of … Read morePowerShell: Finding Currently Loaded DLLs

New 1E WakeUp iPhone App

1E has recently gotten a new, awesome application approved on the Apple AppStore called 1E WakeUp, or 1E Remote WakeUp! Cool, what does it do? This app enables iPhone, iPod Touch, and iPad users to remotely wake up their corporate computers, on networks where the 1E Power & Patch Management solution (NightWatchman & WakeUp) has … Read moreNew 1E WakeUp iPhone App

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)

ccmsetup.exe: Trailing slash in “Source” parameter

Hello everyone! Tonight, while I’m traveling in Houston, Texas, I wrestled with ccmsetup.exe for a little while. I was working on getting a ConfigMgr vNext client agent installed on a Windows 7 Ultimate virtual machine, and kept getting a message in my ccmsetup.log saying “Source <path> is inaccessible.” —– A little bit about %~dp0 Now, … Read moreccmsetup.exe: Trailing slash in “Source” parameter

iTunes once again breaks my apps

So after I upgraded to iOS 4, it broke all the links to the music I had tirelessly copied to my 64GB iPod Touch 3G. In other words, I had about 40GB of Data that was left useless on the device, and since I was traveling internationally, I had no way of restoring my music … Read moreiTunes once again breaks my apps

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

Tomato Firmware as DNS Server

If you’re a home user, using the Tomato Firmware on a device, such as the Linksys WRT54GL, and you don’t have an internal DNS server, then Tomato might be able to save the day. For myself, I’ve got several computers on my internal LAN, and do not have an internal DNS server. Each of these … Read moreTomato Firmware as DNS Server

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