< Back

New-InStorConnection

Wed Jan 15, 2020 4:15 am

NAME New-InStorConnection



SYNOPSIS

Setup the connection to the Inspur MCS Storage, and a Connection object will be returned if successful.





SYNTAX

New-InStorConnection [-StorUrl] <String> [-UserName] <String> [-Password] <String> [<CommonParameters>]



New-InStorConnection [-StorUrl] <String> [-PsCredential] <PSCredential> [<CommonParameters>]





DESCRIPTION

Setup the connection to the Inspur MCS Storage, and a Connection object will be returned if successful.





PARAMETERS

-StorUrl <String>

The Inspur MCS Storage cluster Url.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserName <String>

Name of Inspur MCS Storage user.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Password <String>

Password of Inspur MCS Storage user.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PsCredential <PSCredential>

The Inspur MCS Storage Credential information.



Required? true

Position? 1

Default value

Accept pipeline input?

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

InStorConnection

returns a InStorConnection Object.





-------------------------- EXAMPLE 1 --------------------------



New-InStorConnection -StorUrl "100.7.46.160" -UserName "superuser" -Password "passw0rd"



Setup the connection to the Inspur MCS Storage with Credential information("100.7.46.160","superuser","passw0rd"),

and a Connection object will be returned if successful.



RELATED LINKS