Category Archives: scripts

Fix Duplicate WSUS ClientIDs Using PowerShell

A common issue when using a ‘template’ or an OS image that hasn’t been sysprepped is that each client that has the same clientID will appear and disappear from the WSUS console (only 1 client will appear at a time). … Continue reading

Posted in powershell, scripts, WSUS | Tagged , , , , | 6 Comments

Find All SQL Instances Using PowerShell Plus A Little More

A while back I saw this the following post on the PowerShell Magazine that showed how to get all of the instances of a SQL server. This was pretty cool, but only listed the instances and nothing else (well it … Continue reading

Posted in powershell, scripts | Tagged , , , | 17 Comments

Make a Window Flash in Taskbar using PowerShell and PInvoke

While working on a different project, I came across the need to do some sort of notification when something happened during a script. I didn’t need popup or some loud noise to alert me, but something a little subtle to … Continue reading

Posted in powershell, scripts | Tagged , , , , | 1 Comment

Get All Members of a Local Group Using PowerShell

I wrote a function a while back that is used to query a local group on a remote or local system (or systems) and based on the –Depth parameter, will perform a recursive query for all members of that group … Continue reading

Posted in powershell, scripts | Tagged , , , , , | 37 Comments

Create a Hard Link Using PowerShell

Following on the heels of my last article where I talked about creating a symbolic link using PowerShell, I figured I would throw another script out there that will do what mklink.exe does with creating a hard link and do … Continue reading

Posted in powershell, scripts | Tagged , , , , | 2 Comments