malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?
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".

posted on 2012-08-19 14:46  malaikuangren  阅读(120)  评论(0编辑  收藏  举报