Varonis DatAnywhere Powershell Module Wiki
Powershell Module for Varonis DatAnywhere Administration
Status: Beta
Brought to you by:
ledav
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