View on GitHub

Palo Alto powershell

Download this project as a .zip file Download this project as a tar.gz file

Get-PaSystemInfo

Synopsis

Returns general information about the desired PA.

Syntax

Get-PaSystemInfo [[-PaConnection] <String>] [<CommonParameters>]

Description

Returns the version number of various components of a Palo Alto firewall.

Parameters

-PaConnection <String>

Requiredfalse
Position1
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

Example 1

C:\PS>Get-PaVersion -PaConnectionString https://192.168.1.1/api/?key=apikey
    
    
    hostname                              : pegasus
    ip-address                            : 192.168.1.1
    netmask                               : 255.255.255.0
    default-gateway                       : 192.168.1.10
    ipv6-address                          : 
    ipv6-link-local-address               : fe80::b60c:23ff:fe0c:5500/64
    ipv6-default-gateway                  : 
    mac-address                           : b4:0c:25:03:55:00
    time                                  : Mon Nov 19 17:02:19 2012
                                    
    uptime                                : 2 days, 15:26:48
    devicename                            : pegasus
    family                                : 200
    model                                 : PA-200
    serial                                : 012345678901
    sw-version                            : 5.0.0
    global-protect-client-package-version : 1.2.0
    app-version                           : 338-1582
    app-release-date                      : 2012/11/13  12:46:13
    av-version                            : 882-1216
    av-release-date                       : 2012/11/15  18:13:58
    threat-version                        : 338-1582
    threat-release-date                   : 2012/11/13  12:46:13
    wildfire-version                      : 0
    wildfire-release-date                 : unknown
    url-filtering-version                 : 3984
    global-protect-datafile-version       : 0
    global-protect-datafile-release-date  : unknown
    logdb-version                         : 5.0.2
    platform-family                       : 200
    logger_mode                           : False
    vpn-disable-mode                      : off
    operational-mode                      : normal
    multi-vsys                            : off

Example 2

C:\PS>Get-PaVersion https://192.168.1.1/api/?key=apikey