Powershell

WMI Explorer

WMI (Windows Management Instrumentation) is a great information source: you can find almost any information about your computer somewhere. The hard...

read more

Object Magic (Part 4)

How about turning a single object into a hash table? This way, you can display one object property per line when you output the object in a grid...

read more

Object Magic (Part 3)

Let’s assume you want to hide all object properties that have no value (are empty). Here is a simple approach: # get any object $object =...

read more

Object Magic (Part 2)

Via the secret “PSObject” property, you can get detailed information about object members. For example, if you’d like to know...

read more

Object Magic (Part 1)

In PowerShell, most data are represented as PSObjects, a specific object “wrapper” added by PowerShell. To get to this specific wrapper,...

read more

Encrypting Text (Part 2)

This is the second part of our text encryption/decryption series. In the first part you learned how you can safely encrypt text on a machine. Now...

read more

Simple PowerShell Chat

Here’s a fun PowerShell script that you can use to create a simple multi-channel chat room. All you need is a network share where everyone has...

read more

Testing Password Strength

In previous tips, we already talked about services such as haveIbeenpwned.com. They harvest leaked passwords from previous hacker attacks so you can...

read more

Finding Public IP Address

Here is a one-liner that retrieves your current public IP address: PS> Invoke-RestMethod -Uri http://ipinfo.io ip : 87.153.224.209 hostname :...

read more
1 18 19 20 21 22 130