powertips

Finding IP Address

There are various ways to determine the IP address that is assigned to your machine. Here is a rather unusual approach that uses text operators to...

read more

Change Order of CSV Columns

If you have a CSV file and would like to change the order of columns, simply import it into PowerShell, use Select-Object to change the order, and...

read more

Find Open Files

To find open files on a remote system, use openfiles.exe and convert the results to rich objects. Here is a sample (replace "storage1"...

read more

Using Closures

Script blocks are dynamic by default, so variables in a script block will be evaluated each time the script block runs. By turning a script block in...

read more

Unzipping Files

Unfortunately, there is no built-in cmdlet to unzip files. There are plenty of 3rd party tools, many of which are free. If you cannot use these...

read more

Renaming Object Columns

In some of our previous tips, we showed how you can turn comma-separated data returned from different console tools into rich PowerShell objects....

read more

Deleting Certificates

If you want to permanently delete a digital certificate in your certificate store, here is how. This line lists all your personal certificates:...

read more
1 78 79 80 81 82 122