Search Results for

    Show / Hide Table of Contents

    Connect-UssServer

    SYNOPSIS

    Connects to a server.

    SYNTAX

    Default (Default)

    Connect-UssServer [-Server <String>] [-Port <Int32>] [<CommonParameters>]
    

    Credential

    Connect-UssServer -Credential <PSCredential> [-RememberCredential] [-Server <String>] [-Port <Int32>]
     [<CommonParameters>]
    

    DESCRIPTION

    Use Connect-UssServer to connect to a specified server with specified credentials. If no server is specified, the default server is used. If no credentials are specified, the user is prompted for credentials.

    PARAMETERS

    -Credential

    Specifies the credentials to use when connecting to the server.

    Type: PSCredential
    Parameter Sets: Credential
    Aliases:
    
    Required: True
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -Port

    DEPRIECATED: Use -Server instead.

    Type: Int32
    Parameter Sets: (All)
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -RememberCredential

    Specifies that the credentials should be saved for future use.

    Type: SwitchParameter
    Parameter Sets: Credential
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -Server

    Specifies the server to connect to.

    Type: String
    Parameter Sets: (All)
    Aliases:
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    CommonParameters

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

    INPUTS

    None

    OUTPUTS

    System.Object

    NOTES

    RELATED LINKS

    In This Article
    • SYNOPSIS
    • SYNTAX
      • Default (Default)
      • Credential
    • DESCRIPTION
    • PARAMETERS
      • -Credential
      • -Port
      • -RememberCredential
      • -Server
      • CommonParameters
    • INPUTS
      • None
    • OUTPUTS
      • System.Object
    • NOTES
    • RELATED LINKS
    Back to top Generated by DocFX