Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

New Powershell script for basic instance information

$
0
0

I've been playing around with Powershell and the SqlServer module and just posted a script to do some basic inventory for a SQL Server instance and output it to a text file. The script is located here.

While all this information can be retrieved using t-sql, it's always a good thing to learn new, alternative ways for even relatively simple tasks. Plus, it gives me a chance to practice my (somewhat rudimentary) PS skills.

I imagine I'll be updating it as I get deeper into the SqlServer module object model and as I get more comfortable with PS. But for now, it seems somewhat useful, so I thought I would share it. Enjoy.


Viewing all articles
Browse latest Browse all 4871

Trending Articles