Welcome to MSDN Blogs Sign in | Join | Help

March 2009 - Posts

Using PowerShell to Get Data & Log File Sizes

I was playing around with PowerShell today (yes I’m was geeking out on Saturday afternoon) to learn how to access Performance Counters using PowerShell. My mission was to write a script that would return the Data File and Log File sizes for each database
 
Page view tracker