powertips

Get Hashes from Texts

Before the advent of PowerShell 5 (and Get-FileHash), to calculate hashes for strings and files, you’d need to resort to pure .NET methods....

read more

Creating Hashes from Text

A hash is a way to uniquely identify a text without exposing the actual text. Hashes are used to identify texts, find duplicate file content, and...

read more

Compare AD User

Did you ever want to compare the properties of ADUsers? Provided you have installed the RSAT tools, you can read individual AD users with...

read more

Finding Service Privileges

Get-Service can provide basic information about Windows services but won’t list the required privileges. Here is a small PowerShell function...

read more

Locking Workstation

PowerShell can access low-level API functions by using C#-style signatures. This way, API functions are compiled in-memory and added as new types....

read more
1 14 15 16 17 18 122