ps1

Reading RunOnce Key

The RunOnce key in the Windows Registry stores all auto-starting executables. It may be empty. To check for auto-starting applications, try this:...

read more

Creating Random Passwords

Here is another small script to produce random passwords consisting of a defined number of capitals, letters, numbers, and special characters:...

read more

Piping Files and Folders

Let’s assume you want to create a function that accepts a file path. There are numerous tasks that can be done with files. You may want to...

read more

Simple WMI Browser

WMI is a powerful information repository – if you know the names of WMI classes: Get-CimInstance -ClassName Win32_BIOS Get-CimInstance...

read more

Managing FTP via PowerShell

There are no built-in FTP commands in PowerShell, but you can easily download and install a free extension that provides the missing commands. Just...

read more

Formatting Numbers (Part 2)

In the previous tip we introduced the Get-DisplayFileSize function which automatically converts bytes to readable numbers with units such as “KB”...

read more

Formatting Numbers (Part 1)

The following Get-DisplayFileSize function takes any byte value and returns a nicely formatted size, using units like “MB”, “GB”, or “PB”: function...

read more

Filtering Files

You may not have noticed this, but the -Filter parameter on Get-ChildItem (aka dir or ls) is not as specific as you think. The following line should...

read more

Find User Profiles

We’ve received massive feedback on our tips dealing with user profile management, so we decided to add a couple of additional tips. Typically,...

read more

List User Profiles

We've received a massive feedback on our tips dealing with user profile management, so we decided to add a couple of additional tips. WMI can...

read more
1 32 33 34 35 36 128