database-tools

Launching Any Excel Version

Microsoft Excel is an example of a program that is not easy to launch directly: the path to Excel may be different, depending on Office version and...

read more

Unblocking Download Files

Any file you download from the Internet or receive via email get marked by Windows as potentially unsafe. If the file contains executables or...

read more

Eliminating Empty Results

To exclude results that have empty properties, you can easily use Where-Object. For example, when you run Get-Hotfix, and you only want to see...

read more

Finding Logged-On User

There is a helpful console application called quser.exe which will tell you who is logged on to a machine. The executable returns plain text, but...

read more

Finding Logon Failures

Whenever someone logs on with invalid credentials, there will be a log entry in the security log. Here is a function that can read these events from...

read more

Change Desktop Wallpaper

To change the current desktop wallpaper and make this change effective immediately, PowerShell can tap into the windows API calls. Here is a...

read more

Getting System Information

PowerShell plays friendly with existing console applications. One of the most useful is systeminfo.exe which gathers all kinds of useful system...

read more

Starting Services Remotely

Since Start-Service has no -ComputerName parameter, you cannot use it easily to remotely start a service. While you could run Start-Service within a...

read more