posts-powershell

Check Online Status

When managing more than just one system, you may want to remotely access those systems. Maybe you use WMI to do that. However, when you try and...

An Easy InputBox

All user input and output normally occurs inside the PowerShell console. Simply access the .NET framework directly if you'd like to get back the...

Finding Current Script Path

Ever wanted to locate the path of your current PowerShell script? This can be useful to call other scripts or resources in the same folder. To...

Finding Aliases for a Command

PowerShell defines a lot of shortcuts (aliases) for most commands. You may want to determine whether there is a shortcut if you find yourself using...

Clone NTFS Permissions

NTFS access permissions can be complex and tricky. To quickly assign NTFS permissions to a new folder, you can simply clone permissions from another...

Finding and Deleting Orphaned Shares

Maybe you never noticed but when you delete folders that were shared on the network, the share may be left behind. To locate shares that have no...

Creating HTML Reports

PowerShell can convert objects into HTML using ConvertTo-HTML. By adding a bit of custom formatting, your reports can be colorful and cool. The...

Creating A Computer Profile

Often, information needed to comprehensively profile a computer comes from a number of sources. A great way to meld these different bits of...

Shutting Down Computers Remotely

WMI not only provides rich information, it also supplies methods that you can call to take action. In the next example, you can forcefully shut down...

Finding Out Interesting WMI Classes

WMI provides a wealth of information as long as you know the name of the WMI class that represents the entity you are seeking. Fortunately,...