Test-SrmSdkAuthentication¶
Synopsis¶
Check authentication to a Site Recovery Manager instance.
Syntax¶
Test-SrmSdkAuthentication [-server] <String> [-user] <String> [-pass] <String> [[-remoteUser] <String>] [[-remotePass] <String>] [<CommonParameters>]
Description¶
Checks the authentication to a Site Recovery Manager instance using the PowerCLI cmdlet Connect-SrmSdkServer.
Examples¶
Example 1¶
Test-SrmSdkAuthentication -server sfo-m01-srm01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1!
This example checks authentication with a Site Recovery Manager instance.
Example 2¶
Test-SrmSdkAuthentication -server sfo-m01-srm01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -remoteUser administrator@vsphere.local -remotePass VMw@re1!
This example checks authentication with a Site Recovery Manager instance and a remote Site Recovery Manager instance.
Parameters¶
-server¶
The fully qualified domain name of the 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
-user¶
The username to authenticate to the 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
-pass¶
The password to authenticate to the Site Recovery Manager instance.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-remoteUser¶
The username to authenticate to the remote 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
-remotePass¶
The password to authenticate to the remote Site Recovery Manager instance.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
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.