Search

GlobalSCAPE Knowledge Base

Export EFT Advanced Stats using PowerShell

ramiroguzman
EFT

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT v6.5 and later

DISCUSSION

    This PowerShell script allows administrators to export EFT configuration stats using EFT COM API.

    Prerequisites

    • Microsoft .NET Framework 4.0 or later
    • PowerShell 2 or later
    • Windows Server 2008 R2 or later
    • EFT Server 6.5 or later

    Installation

    Download the PowerShell script file into your EFT Server.

    Usage

    1. Open Windows PowerShell (x86 version) console
    2. Run the following command:
     # Connects to EFT using current logon user and exports data into CSV file 
     .\EFT.AdvancedStats.ps1 -EFTAdminHostname "localhost" -EFTAdminPort 1100
    
     # Connects to EFT using a custom admin username and password and exports data into CSV file  
     .\EFT.AdvancedStats.ps1 -EFTAdminHostname "localhost" -EFTAdminPort 1100 -EFTAdminAuthType 0 -EFTAdminUsername "admin" -Password (Read-Host "Password" -AsSecureString)
    
    

    Script Parameters

    • EFTAdminHostname: EFT Hostname or IP address where EFT is listening. Default "localhost"
    • EFTAdminPort : EFT hostname or IP address where EFT is listening. Default 1100
    • EFTSiteName : EFT Site name, leave empty to process all sites. Default empty
    • EFTAdminAuthType : Authentication Type to connect to EFT Server. 0: EFT Login, 1: Windows Login, 2: Network Logon. Default 1
    • EFTAdminUsername: Administrator's username
    • Password : Administrator's password
    • QuickScan: Performs a basic and quick scan, Ignoring long-time file calculations. Default $false.
    • SaveAsCSV : Generates output into a CSV file Default $true

    Script Execution Policy

    Make sure your Server allows execute PowerShell scripts by setting the correct policy.

    Set-ExecutionPolicy -ExecutionPolicy Unrestricted
    

    Reporting Issues

    Issues

    If you find any bugs using the PowerShell script, please file an issue on your customer portal page. Please fill out with appropriate information.

    License

    Copyright (C) 2019 GlobalSCAPE, Inc. The copyright to the computer program(s) herein is the property of GlobalSCAPE, Inc. The program(s) may be used and/or copied only with the written permission of GlobalSCAPE, Inc. or in accordance with the terms and conditions stipulated in the agreement/contract under which the program(s) have been supplied.

Details
Last Modified: 2 Months Ago
Last Modified By: ramiroguzman
Type: HOWTO
Article not rated yet.
Article has been viewed 24K times.
Options
Also In This Category
Tags