Powershell

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

Clear Command List

There are actually two places where your commands get stored: One is maintained by PowerShell (Get-History, Invoke-History). The other one is...

read more

Open Console History

Did you know that the PowerShell console shares some key shortcuts with classic cmd consoles? For example, press F7 to open a menu with your command...

read more

File Or Folder? Find Out!

Test-Path can check whether a file or folder exists, but this does not tell you whether the path specified was actually a file or a folder. If...

read more

Creating A HTML Font List

With just a couple of lines of code, you can create a HTML document listing each installed type face on your computer which you then can print out...

read more