database-tools

Avoid Format-… in Scripts

The family of Format-... Cmdlets is useful for outputting data into the console. You probably often used lines like this: Get-Service | Format-Table...

read more

Conflicting Commands

PowerShell supports many different command categories and searches for the command in the following order: 1. Alias 2. Function 3. Cmdlet 4....

read more

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