database-tools

Finding Keyboard and Mouse

You can use WMI to quickly find all details about your mouse and keyboard: PS> Get-WmiObject win32_PointingDevice | Where-Object { $_.Description...

read more

Displaying MsgBox TopMost

In a previous tip you learned how to load additional .NET assemblies. This enables you to display dialog boxes like a MsgBox, pretty much like in...

read more

Using Open File Dialogs

To spice up your scripts, PowerShell can use the system open file dialog, so users could easily select files to open or to parse. Here's the...

read more

Playing WAV files

PowerShell can play WAV files, so you can add sound and special effects to your scripts (provided your system has a sound card): PS> $player =...

read more

Installing Local Printer

WMI represents all locally installed printers with its class Win32_Printer, so you can easily look what's installed: PS> Get-WmiObject -Class...

read more

Discovering Network Access

PowerShell can access low-level COM interfaces to find out system information such as network access. This code returns a list of all active network...

read more