# .ExternalHelp Microsoft.SystemCenter.OperationsManagerV10.Commands.dll-Help.xmlfunction Get-SCOMCommand{    [CmdletBinding(DefaultParameterSetName='CmdletSet')]    param(    [Parameter(ParameterSetName='AllCommandSet', Position=0, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true)]    [ValidateNotNullOrEmpty()]    [System.String[]]    ${Name},    [Parameter(ParameterSetName='CmdletSet', ValueFromPipelineByPropertyName=$true)]    [System.String[]]    ${Verb},    [Parameter(ParameterSetName='CmdletSet', ValueFromPipelineByPropertyName=$true)]    [System.String[]]    ${Noun},       [Parameter(ParameterSetName='AllCommandSet', ValueFromPipelineByPropertyName=$true)]    [Alias('Type')]    [System.Management.Automation.CommandTypes]    ${CommandType})        process {        Get-Command @psboundParameters -Module OperationsManager    }}# .ExternalHelp Microsoft.SystemCenter.OperationsManagerV10.Commands.dll-Help.xmlfunction Write-SCOMCommand{    [CmdletBinding(DefaultParameterSetName='Name')]    param(        [Parameter(Mandatory=$true,ParameterSetName='Name')]    [String]$Name,    [Parameter(Mandatory=$true,ParameterSetName='NoName')]    [Switch]$NoName        )        process {        if ($psCmdlet.ParameterSetName -eq 'Name') {@"function $Name {    param(    [ValidateNotNullOrEmpty()]    [Microsoft.SystemCenter.Core.Connection.Connection[]]    `${SCSession},    [ValidateNotNullOrEmpty()]    [System.String[]]    `${ComputerName},        [System.Management.Automation.PSCredential]    `${Credential}    )        process {        `$managementGroupParameters = @{} + `$psBoundParameters        foreach (`$k in @(`$managementGroupParameters.Keys)) {            if ('SCSession', 'ComputerName', 'Credential' -notcontains `$k) {                `$null = `$managementGroupParameters.Remove(`$k)            }        }                `$Group = Get-SCOMManagementGroup @managementGroupParameters        `$connection = [Microsoft.SystemCenter.OperationsManagerV10.Commands.OMV10Utility]::GetConnectionForManagementGroup(`$Group)                # Use `$group to work with the SCOM API: http://msdn.microsoft.com/en-us/library/microsoft.enterprisemanagement.managementgroup.aspx    }}"@        } else {@"param([ValidateNotNullOrEmpty()][Microsoft.SystemCenter.Core.Connection.Connection[]]`${SCSession},[ValidateNotNullOrEmpty()][System.String[]]`${ComputerName},[System.Management.Automation.PSCredential]`${Credential})`$managementGroupParameters = @{} + `$psBoundParametersforeach (`$k in @(`$managementGroupParameters.Keys)) {    if ('SCSession', 'ComputerName', 'Credential' -notcontains `$k) {        `$null = `$managementGroupParameters.Remove(`$k)    }}`$Group = Get-SCOMManagementGroup @managementGroupParameters`$connection = [Microsoft.SystemCenter.OperationsManagerV10.Commands.OMV10Utility]::GetConnectionForManagementGroup(`$Group)        # Use `$group to work with the SCOM API: http://msdn.microsoft.com/en-us/library/microsoft.enterprisemanagement.managementgroup.aspx"@        }    }}# .ExternalHelp Microsoft.SystemCenter.OperationsManagerV10.Commands.dll-Help.xmlfunction Add-SCOMRunAsAccount{    [CmdletBinding(DefaultParameterSetName='Windows', SupportsShouldProcess=$true, ConfirmImpact='Medium')]    param(