< Back

Revoke-CrmEmailAddress

Sat Jan 18, 2020 4:05 pm

NAME Revoke-CrmEmailAddress



SYNOPSIS

Revoke email address change of a user or a queue.





SYNTAX

Revoke-CrmEmailAddress [-conn <CrmServiceClient>] [-UserId] <String> [<CommonParameters>]



Revoke-CrmEmailAddress [-conn <CrmServiceClient>] [-QueueId] <String> [<CommonParameters>]





DESCRIPTION

The Revoke-CrmEmailAddress cmdlet lets you revoke email address change of a user or a queue.





PARAMETERS

-conn <CrmServiceClient>

A connection to your CRM organization. Use $conn = Get-CrmConnection <Parameters> to generate it.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserId <String>

A record Id of User.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-QueueId <String>

A record Id of Queue.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









NOTES









-------------------------- Example 1 --------------------------



Revoke-CrmEmailAddress -conn $conn -UserId 00005a70-6317-e511-80da-c4346bc43d94



This example revokes email address for a user.







-------------------------- Example 2 --------------------------



Revoke-CrmEmailAddress -UserId 00005a70-6317-e511-80da-c4346bc43d94



This example revokes email address for a user by omitting parameters names.

When omitting parameter names, you do not provide $conn, cmdlets automatically finds it.







-------------------------- Example 3 --------------------------



Revoke-CrmEmailAddress -conn $conn -QueueId 00005a70-6317-e511-80da-c4346bc43d94













RELATED LINKS