Tag Archives: $db.ExecuteWithResults(“DBCC SQLPERF(LOGSPACE)”).Tables[0]

SQL DB Details Of Multiple Servers Using PowerShell

  One of my blog reader requested me to get the DB details(Server,DBName,Size,SpaceAvailable,LogSize,PercentUsed Log Space,compatiblilty mode, recovery model etc:-) using PowerShell hence this post is written. The power of PowerShell is to capture an output of DBCC commands and store … Continue reading

Posted in PowerShell, SQL | Tagged , | 4 Comments