Remove-SCOMUserRole

Syntax

Remove-SCOMUserRole
      [-UserRole] <UserRole[]>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Examples

1:

PS C:\>

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UserRole

Type:UserRole[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False