Edit

Share via


Get-CrossCloudVerificationCode

Gets the verification code used to validate the ownership of the domain in another connected cloud. Important: Only applies to a verified domain.

Syntax

Default (Default)

Get-CrossCloudVerificationCode
    -Name <String>
    [<CommonParameters>]

Examples

Example 1: Get the cross cloud verification code

PS C:\>Get-CrossCloudVerificationCode -Name Contoso.com

This command will return a string that can be used to enable cross cloud federation scenarios.

Parameters

-Name

Specifies the name of a domain.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Microsoft.Online.Administration.GetCrossCloudVerificationCodeResponse