Easy Powershell Oneliner

As I post things on this blog about PowerShell I will attempt to note how to do it with and without aliases. Just remember when going through the interwebs you can always look up and alias by typing Get-Alias or just type Get-Alias to see the entire list.

PS C:\>Get-Alias ft

Here is a little nugget you can try:

Without aliases:

PS C:\>Get-WmiObject -Class win32_bios |Select-Object *

With aliases

PS C:\>gwmi -Class win32_bios |Select *


Leave a Reply