Menu

Skip to content
  • Home
  • All Articles
  • Write Me
  • Becoming A DBA
  • Downloads/Interview Q&A
  • About Me

Tag Archives: Powershell Script

September 12, 2012 by Jugal Shah

Powershell Script to get total and free disk space

You can execute the below powershell script to get total & free disk space which includes the mount drive as well.

Get-WmiObject -class Win32_volume -filter "drivetype = 3" | select name,
 @{Name="Capacity";Expression={$_.capacity / 1GB}},@{Name="freespace";Expression
={$_.freespace / 1GB}}
Posted in OS and SQL, SQL Server 2008, SQL Server 2008 R2 | Tagged disk space, Powershell Script | Leave a comment

About Me

Jugal Shah is the author of this blog. He has Nine plus years of experience as Database Administrator and Developer in the Microsoft SQL Server and MySQL.

Server Server MVP (2010, 2011, 2012)

Search @ SQLDBPOOL

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 254 other followers

Blog Readers

  • 796,997 Readers

Locations of visitors to this page

MVP Blog Badge.

Grab this badge here!

Disclaimer

This is a personal blog. The opinions expressed here represent my own thoughts and not those of my employer. For accuracy and official reference refer to MSDN/ TechNet/ BOL. My employer do not endorse any tools, applications, books, or concepts mentioned on the blog. I have written my personal experience on this blog. Please don't direct implement or execute any query on production before have detailed study.

Database Support

  • Notes (423)
    • Database (86)
    • DB Articles (52)
    • DB Notes (4)
    • IIS (1)
    • Microsoft Technologies (2)
    • MySQL (12)
    • Networking (7)
    • Oracle (4)
    • OS and SQL (25)
    • PostGreSQL (2)
    • SQL Scripts (53)
    • SQL Server (307)
    • SQL Server 2008 (182)
    • SQL Server 2008 R2 (178)
    • SQL Server 2011 (Denali) (74)
    • Windows OS (5)
  • SQL Server 2012 (9)

Top Rated

Call Me

SQLDBPool facebook Page

Follow Me

My BlogCatalog BlogRankPage Rank CheckerTechnology blogsBlog Directory Visit blogadda.com to discover Indian blogs Shout it
NetworkedBlogs
Blog:
SQLDBPOOL.COM
Topics:
Sql Server, Dba, Developer
 
Follow my blog
Blog at WordPress.com. | Theme: Misty Lake by Automattic.
Follow

Get every new post delivered to your Inbox.

Join 254 other followers

Powered by WordPress.com