Remove-VmsRole¶
SYNOPSIS¶
Removes the specified role from the management server.
SYNTAX¶
ByName (Default)¶
ById¶
DESCRIPTION¶
Removes the specified role from the management server.
REQUIREMENTS
- Requires VMS connection and will attempt to connect automatically
EXAMPLES¶
Example 1¶
If the "WhatIf" parameter were removed, this would remove the role named "MilestonePSTools" if it exists.
PARAMETERS¶
-Id¶
Specifies the unique ID of the role.
Type: Guid
Parameter Sets: ById
Aliases: RoleId
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Role¶
Specifies the role object as is returned by Get-VmsRole, or the role name.
Type: Role
Parameter Sets: ByName
Aliases: RoleName, Name
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Confirm¶
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf¶
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.