Menu

V1 - Connect-DatAnywhereServer

Connect (1)
David Vekemans
NAME
    Connect-DatAnywhereServer

SYNOPSIS
    Connect to a DatAnywhere Server.

SYNTAX
    Connect-DatAnywhereServer [-DatAnywhereServer] <String> [-Credential] <PSCredential [<CommonParameters>]

    Connect-DatAnywhereServer [-DatAnywhereServer] <String> [-Username] <String> [-Password] <String> [<CommonParameters>]

DESCRIPTION
    Open a connection to a DatAnywhere Server and creates a token file for further usage.

PARAMETERS
    -DatAnywhereServer <String>
        DatAnywhere server name
        Credential object created by Get-Credential. User and password must be defined as DatAnywhere admin.

        Required?                    true
        Position?                    1
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -Credential <PSCredential>
        Credential object created by Get-Credential. User and password must have access to file server shares and be defined as DatAnywhere admin.

        Required?                    true
        Position?                    2
        Default value
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

    -Username <String>
        User name defined as DatAnywhere admin.

        Required?                    true
        Position?                    2
        Default value
        Accept pipeline input?       false
        Accept wildcard characters?  false

    -Password <String>
        Password of user.

        Required?                    true
        Position?                    3
        Default value
        Accept pipeline input?       false
        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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS
    See parameters info.

OUTPUTS
    No powershell output, but it creates a token file used with other cmdlets.

NOTES

        File Name        :    DatAnywhereFunctions.ps1
        Author           :    David Vekemans - david.vekemans@erasme.ulb.ac.be
        Version          :    2.01
        Date             :    20/05/2015
        Revision history :    1.00 - 08/05/2015 - First release
                              2.00 - 12/05/2015 - Support any AD Domain, in both syntax. Support username/password or credential object.
                              2.01 - 20/05/2015 - Support credential from the pipeline

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

    PS C:\>Connect-DatAnywhereServer -DatAnywhereServer Server1 -Credential $Cred

    Connect to server Server1. $Cred object is created using Get-Credential cmdlet.

    -------------------------- EXAMPLE 2 --------------------------

    PS C:\>Connect-DatAnywhereServer -DatAnywhereServer Server1 -Username my_user -Password my_pass

    Connect to server Server1 using provided user and password.

RELATED LINKS

Related

Wiki: Version 1 - Available Functions

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.