You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if -api_key is not passed via command-line, you will be prompted to enter an API key.
Default Argument:
-dataType EgressIPs. This will show all the public egress IP addresses for the Prisma Access tenant.
Alternate outputs for -dataType:
ActiveIPOnboardedMobileUserLocations - Shows all the public egress IPs for mobile users.
ActiveMobileUserAddresses - Shows all the public egress IPs for mobile users.
RemoteNetworkAddresses - Shows all public egress IPs for Remote Networks
CleanPipeAddresses - Shows all public egress IPs for Clean Pipe
ExplicitProxyAddresses - Shows all public egress IPs for Explicit Proxy
Optional Argument
-environment - This defaults to prod. Adjust to the correct environment where applicable. Your Account SE should be able to help determine which environment you're in.
if -environment is not added to command-line argument, then you will be prompted to confirm the environment.
if you press enter at the prompt, it will assume you meant prod
Example Usage
All egress IPs for Prisma Access
PS1 C:\>.\format-egress-ips.ps1 -api_key <api_key>
Environment (defaults to prod):
Zone ServiceType Address AddressType
---------------------------------
US Northwest remote_network 123.264.123.112 active
US Northwest gp_gateway 123.264.123.113 active
US Northwest gp_gateway 123.264.123.114 active
US Northwest swg_proxy 123.264.123.116 active
...
Loopback IP addresses
PS1 C:\>.\format-egress-ips.ps1 -api_key <api_key>-dataType loopback_ip
Environment (defaults to prod):
Location Type Loopback IP
-----------------------
US Northwest gpcs_gp_gw 192.168.0.10
US East gpcs_gp_portal 192.168.0.11
US West gpcs_gp_portal 192.168.0.2
CloudGenix_Branch gpcs_remote_network 192.168.0.3