Wednesday, September 11, 2019

Determine Hosted SQL Server if running on VM or Physical Using Powershell

Problem:- 
You had hundreds of servers and for any kind of reporting or analysis, you need to know current SQL Server hosted environment if it Virtual or Physical Server, so we will use PowerShell to achieve that goal in a simple way as usual😊