Powershell

Getting New NTFS Cmdlets

PowerShell 3+ / PowerShellGet In the previous tip we explained PowerShellGet. This module ships with PowerShell 5.0 but is available for download on...

read more

Reading NTFS Permissions

PowerShell 2+ NTFS permissions are represented by complex object hierarchies that are hard to read. A much simpler way is to output the structure in...

read more

Use a Shorter Prompt

All Versions By default, PowerShell displays the current path in its input prompt which wastes as lot of space. When you overwrite the...

read more

Doing Things in Parallel

Any version By processing things in parallel rather than sequential, a script can complete much faster. Here is an example that uses background jobs...

read more

More Splitting Fun

In the previous tip, we explained how you can use a regular expression to split strings in groups of a given length. Let’s explore what else...

read more

Splitting Groups

All PowerShell Versions Ever wanted to split a string in chunks of a given length? Regular expressions can help. Here is an example that splits a...

read more

Safely Opening WPF Windows

In the previous tip we explained how you can create WPF-based windows in PowerShell. However, when you play with WPF code inside PowerShell ISE, it...

read more

Creating WPF Windows

WPF is a great technique to create user interfaces in PowerShell. Most of the window content can be defined using XAML, a description similar to...

read more

Saving Credentials

Here is a safe way of saving credentials to a file: $CredPath = "$home\Desktop\mycred.xml" Get-Credential | Export-Clixml -Path $CredPath...

read more
1 52 53 54 55 56 130