Edit

Share via


Get-CrossCloudVerificationCode

Retrieves the verification code to confirm domain ownership in another connected cloud.

Syntax

Default (Default)

Get-CrossCloudVerificationCode

    -Name <String>
    [<CommonParameters>]

Description

Retrieves the verification code to confirm domain ownership in another connected cloud. Applies only to verified domains.

Examples

Example 1: Get the cross cloud verification code

Get-CrossCloudVerificationCode -Name Contoso.com

This command returns a string to enable cross-cloud federation.

Parameters

-Name

Specifies the name of a domain.

Parameter properties

Type:System.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