posts-powershell

-RepeatHeader Parameter

Here is a somewhat unknown parameter: -RepeatHeader! What does it do? Let’s assume you want to see results page by page (which only works in a...

read more

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
1 7 8 9 10 11 119