database-tools

Finding Script Errors

There is scripting expertise built-in to PowerShell v.2 that can be activated like this: set-strictmode -version 1set-strictmode -version 2 Use the...

read more

Getting System Uptime

If you'd like to determine a system's uptime, you should use WMI and convert the WMI date into a more readable format: function...

read more

Adding Custom Properties

You may have heard that PowerShell can add custom properties to objects. While we are not going into much detail about this here, we'd like to...

read more

CSV-Files With Culture

In a previous tip, you learned that CSV files use different separators, depending on your culture. While you were unable to select a separator in...

read more

Import-CSV and Types

Export-CSV and Import-CSV are great ways of persisting data in a structured way. There are some limitations, though. Take a look. This line saves a...

read more

Finding Alias Names in V2

Alias names are shortcuts for other commands, and you probably know that. In PowerShell V1, the only way to retrieve all aliases for a given target...

read more