Blog

Reversing GUIDs

Active Directory and other services sometimes use a custom GUID format. To convert a GUID to that format, all blocks of the GUID need to be...

Replace Escape

There are two ways for replacing text, and both have their advantages and pitfalls: Each string has a Replace() method which works very...

Examining Scheduled Tasks

There is a COM interface that you can use to select and dump any scheduled task definition. Just make sure you are running PowerShell with full...

Reversing Text Strings

Here's a simple trick to reverse a text string: $text = 'Hello World' $text = $Text.ToCharArray() [Array]::Reverse($text) -join $text...

Keeping MsgBox On-Top

When you open a MsgBox dialog from PowerShell, the dialog window may sometimes not be visible and instead appears behind the PowerShell or ISE...

Calculate Broadcast Address

If you know the IP address and subnet mask, you can take these and calculate the broadcast address. Here's a function does it for you. Simply...

Finding User Account with WMI

WMI represents all kinds of physical and logical entities on your machine. It also has classes that represent user accounts which include both local...

1 74 75 76 77 78 83