My MVP Profile

Sunday, January 14, 2007

Finding the Missing Syntax Documentation in SCOM 2007 Command Shell

While testing Operations Manager 2007 RC2 recently, I was frustrated to discover that a get-help request for the Install-Agent cmdlet came up empty. Is the command missing entirely? The answer is no. The help documentation is simply missing. In fact the help documentation is missing for several cmdlets is missing. Fortunately, there is a workaround, courtesy of Ercan Turkarslan of MSFT
 
The workaround:
For now, you can use get-Command cmdlet to get parameter definition for
these these cmdlets. For example,

get-command install-agent | ft -Wrap Definition
 
 
For the curious, here is a complete list of cmdlets for which documentation is currently missing.
 

Add-RemotelyManagedComputer
Add-RemotelyManagedDevice
Get-RemotelyManagedDevice
Get-Tier
Install-Agent
New-CustomMonitoringObject
New-DeviceDiscoveryConfiguration
New-LdapQueryDiscoveryCriteria
New-WindowsDiscoveryConfiguration
Remove-RemotelyManagedComputer
Remove-RemotelyManagedDevice
Set-ManagementServer
Set-ProxyAgent
Uninstall-Agent



Comments on "Finding the Missing Syntax Documentation in SCOM 2007 Command Shell"

 

post a comment links to this post