Powershell

Finding Alias Names

To find out all alias names associated with a given command, filter the alias list by its definition property. The following command lists all...

read more

Trustworthy Folders

If you want to launch a script file or executable, in PowerShell, you'll need to specify either a relative or absolute pathname. To do so by...

read more

Casting Strings

Strings represent text information and consist of individual characters. By casting, you can convert strings to individual characters and these into...

read more

Using String Functions

PowerShell uses .NET objects everywhere. Anything is represented as .NET object, and .NET objects come with useful built-in methods. However, for...

read more

Launching Files

The most important rule: always specify either an absolute or relative file path to whatever you want to launch - except if the file is located in a...

read more

Getting Real Paths

PowerShell uses virtual drives, which sometimes have a close mapping to the "real" drives you see in Windows Explorer. However, sometimes...

read more

Deleting Things

To delete things in the file system, you normally use a command like "del", which is an alias and points to Remove-Item in PowerShell:...

read more