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 阅读(124) 评论(0) 编辑 收藏 举报