Skip to content

Test-SrmAuthentication

Synopsis

Check authentication to a Site Recovery Manager instance.

Syntax

Test-SrmAuthentication [-server] <String> [-user] <String> [-pass] <String> [[-remoteUser] <String>] [[-remotePass] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The Test-SrmAuthentication cmdlet checks Authentication to a Site Recovery Manager instance.

Examples

Example 1

Test-SrmAuthentication [-server] <String> [-user] <String> [-pass] <String> [[-remoteUser] <String>]

Parameters

-pass

The password for Site Recovery Manager instance.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-remotePass

The remote password for Site Recovery Manager instance.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-remoteUser

The remote username for Site Recovery Manager instance.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-server

The fully qualified domain name (FQDN) or IP address of the a Site Recovery Manager instance.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-user

The username for Site Recovery Manager instance.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Progress Action

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Common Parameters

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