NAME
Remove-DcsRole
SYNOPSIS
Removes the specified user role from the configuration.
SYNTAX
Remove-DcsRole -Role <Object> [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Removes the specified user role from the configuration.
PARAMETERS
- -Role<Object>
- RoleData object, Alias, or ID that identifies the role to remove. The RoleData object can be obtained using the cmdlet Get-DcsRole.
-
- Required: true
- Position: 1
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection is used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
OUTPUTS
NOTES
Also see Get-DcsRole.
EXAMPLES
-------------- Example 1 Removes a role specified by alias. --------------
Remove-DcsRole -Role "Networking"
The role named "Networking" is removed from the configuration. The alias of the role is supplied using the parameter Role.