How to get report service instance name by wmi

Get-WmiObject –namespace root\Microsoft\SqlServer\ReportServer  –class __Namespace –ComputerName joe-wang | select Name

 

Try above command line in PowerShell.

Comment: joe-wang is the machine name .

 

When command is executed. you will get a instance name of the report service of specified machine name. in this sample it is from the machine named "joe-wang".

你可能感兴趣的:(instance)