database-tools

Read User Profiles from Registry

All versions To find out which users have a (local) user profile on your machine, and where this profile is located, try this snippet: $path =...

Sort Things with Type

All Versions Sort-Object is your one-stop solution for sorting. If it’s primitive data, simply pipe it to Sort-Object. If it is object data,...

Agent vs. Agentless Monitoring

With a unified IT monitoring solution like up.time one of the more popular discusses we have with users is agent versus agentless monitoring.  In...

Opening Webpages from PowerShell

All versions Let’s assume you would like to open your favorite websites in a browser when you start your day. PowerShell can do this for you...

New SQL Suites available now!

Today Idera announces a set of three exciting new bundles in addition to its existing popular SQL Management Suite (formerly called SQL Suite)....

Unfolding Object Data Structure

PowerShell 3.0 and later Objects can contain nested properties, and the data you are after may be “somewhere” inside an object. To...

Suppress Confirmation

All PowerShell Versions Some cmdlets (like Remove-ADGroupMember) automatically ask for confirmation. This can be a problem in scripts running...

Team DBA and Collaboration

In previous blog posts I have explored the relevance of the DBA position itself in business  and the unique ways that SQL Server DBAs tend to...

Getting Cmdlet Help No Matter What

PowerShell 3.0 and later Beginning in PowerShell 3.0 PowerShell no longer ships its help files. Instead, you need to download them via Update-Help,...

Automating PowerShell ISE

PowerShell 3.0 and later PowerShell ISE is completely scriptable and is accessible through the $psISE variable. This variable is present only within...

Finding Process Owner

PowerShell Version 3 or better Get-Process gets you a list of all running processes, but it will not reveal the process owner. To find the process...

Using JSON-based Web Services

PowerShell 3 and better There are plenty of information web services out in the Internet, and many of them return results in JSON format. Here is an...

Using Arrays as Parameter Default Values

PowerShell 3.0 and later If you define a PowerShell function with some parameters, and you want a given parameter to have a default value that is an...

Shorten the Prompt

PowerShell 3.0 and later By default, PowerShell includes the current path into the prompt, and when you launch PowerShell as regular user, the...

1 95 96 97 98 99 159