Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.21 KB

Remove-KshUser.md

File metadata and controls

61 lines (42 loc) · 1.21 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Remove-KshUser

SYNOPSIS

Removes a user.

SYNTAX

Remove-KshUser [-Identity] <User> [<CommonParameters>]

DESCRIPTION

The Remove-KshUser cmdlet removes a user from the current site.

EXAMPLES

Example 1

PS C:\> Remove-KshUser -Identity (Get-KshUser -UserName 'i:0#.f|membership|[email protected]')

Removes a user from the current site.

PARAMETERS

-Identity

Specifies the user.

Type: User
Parameter Sets: (All)
Aliases:

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

Karamem0.SharePoint.PowerShell.Models.V1.User

OUTPUTS

None

NOTES

RELATED LINKS