Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

How do you connect to Central Management Servers if your server has an instance name with it

$
0
0
Trying to connect to my CMS using powershell but the server name for CMS has an instance name and all of the script I find online only has the server name.I cant figure out the combination I need to use to make it work$serverGroupPath = "SQLSERVER:\SQLRegistration\Central Management Server Group\<Server\Instance>\NonProd\Dev"I've tryed " ",' ',(),[] and I figured not putting anything around it, it would think the instance name would be folder.ThanksScott

Viewing all articles
Browse latest Browse all 467

Trending Articles