Books

Translate This Blog
-
Recent Posts
Top Posts
- Querying UDP Ports with PowerShell
- Changing Ownership of File or Folder Using PowerShell
- Speedy Network Information Query Using PowerShell
- Using PowerShell Parameter Validation to Make Your Day Easier
- Avoiding System.Object[] (or Similar Output) when using Export-Csv
- PowerShell and Excel: Adding Some Formatting To Your Report
- Quick Hits: Ping Sweep One Liner
- Locating Mount Points Using PowerShell
- Using PowerShell to Query Web Site Information
- Use PowerShell to remove local profiles
Archives
Categories
- .net
- api
- array
- background jobs
- binary
- book
- c#
- clock
- codeplex
- com object
- convert
- CTP
- database
- deep dive
- excel
- Favorites
- function
- groups
- guest blog
- hash table
- Internet Explorer
- ise
- mcpmag
- module
- MVP
- network
- news
- parameter
- patches
- performance
- pinvoke
- podcast
- port
- PoshChat
- poshpaig
- PoshRSJob
- poshwsus
- powercli
- powerscripting
- Powershell
- printers
- quickhits
- reflection
- regex
- registry
- Regular Expressions
- report
- resolution
- runspace
- runspaces
- scripting games 2012
- scripting games 2013
- scripting guy
- scripts
- SMO
- Speaker
- speaking
- SQL
- tcp
- tips
- tsql
- updates
- user group
- V3
- V4
- v5
- weather
- widget
- win32API
- winter scriting games 2014
- wmi
- word
- WPF
- wsus
- xaml
Tag Archives: SQL
Connecting to a SQL Server Using SQL Server Management Objects (SMO) and PowerShell
In a previous article, I showed you how to find all of the SQL servers and instances using a function that queries the registry. Moving on from this, I will now show how you can connect to a SQL server … Continue reading
Find All SQL Instances Using PowerShell Plus A Little More
A while back I saw this the following post on the PowerShell Magazine that showed how to get all of the instances of a SQL server. This was pretty cool, but only listed the instances and nothing else (well it … Continue reading
Use the WSUS API and PowerShell to query the SUSDB Database
While we know that the WSUS API can be used to perform a multitude of WSUS tasks from approving patches, removing clients to creating automatic approval rules. Diving deeper into the API reveals that we can also find out the … Continue reading
SQL Saturday 197 in Omaha and PowerShell Sessions
SQL Saturday is coming to Omaha, Nebraska on April 6, 2013 (Saturday) and there are some PowerShell sessions available that will be there! Granted, there are not many PowerShell sessions at this event, but some are better than none in … Continue reading
Retrieve SQL Database and Transaction Log File Sizes using Get-Counter
This is a nice little script that I used to find the size of all of the SQL server database (MDF) and Transaction Log (LDF) files on each SQL server that we have. This stems from a task I had … Continue reading