Search

GlobalSCAPE Knowledge Base

Export EFT Event Rules Stats using PowerShell

ramiroguzman
EFT Express (SMB) & Enterprise

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

Prerequisites

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

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.EventRulesStats.ps1 -EFTAdminHostname "localhost" -EFTAdminPort 1100

 # Connects to EFT using a custom admin username and password and exports data into CSV file  
 .\EFT.EventRulesStats.ps1 -EFTAdminHostname "localhost" -EFTAdminPort 1100 -EFTAdminAuthType 0 -EFTAdminUsername "admin" -Password "password"

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
  • 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: Last Month
Last Modified By: ramiroguzman
Type: HOWTO
Article not rated yet.
Article has been viewed 607 times.
Options
Also In This Category
Tags