Skip to main content

Disable-MceUser

SYNOPSIS

Disables an MCE user.

SYNTAX

Disable-MceUser [-Id] <String> [<CommonParameters>]

DESCRIPTION

This cmdlet disables a user on the system.

The cmdlet is designed to support pipelining from Get-MceUser.

EXAMPLES

EXAMPLE 1

Disable-MceUser -Id "4f55b2be-1c07-4fcb-8c66-db563fd46206"

Disables the user with the ID 4f55b2be-1c07-4fcb-8c66-db563fd46206.

EXAMPLE 2

Get-MceUser | Disable-MceUser

Disables all users.

PARAMETERS

-Id

The user ID.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
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.

INPUTS

System.String

The user ID.

OUTPUTS

None

NOTES

MindLink Docs