View on GitHub

Palo Alto powershell

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

Set-PaSecurityRule

Synopsis

Edits settings on a Palo Alto Security Rule

Syntax

Set-PaSecurityRule [-Name] <String> [-Rename <String>] [-Description <String>] [-Tag <String>] [-SourceZone <String>] [-SourceAddress <String>] [-SourceUser <String>] [-HipProfile <String>] [-DestinationZone <String>] [-DestinationAddress <String>] [-Application <String>] [-Service <String>] [-UrlCategory <String>] [-SourceNegate <String>] [-DestinationNegate <String>] [-Action <String>] [-LogStart <String>] [-LogEnd <String>] [-LogForward <String>] [-Schedule <String>] [-Disabled <String>]

Description

Edits settings on a Palo Alto Security Rule

Parameters

-Name <String>

Required? true

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Description <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-SourceZone <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-SourceUser <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-DestinationZone <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Application <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-UrlCategory <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-DestinationNegate <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-LogStart <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-LogForward <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-Disabled <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-ProfileVirus <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-ProfileSpy <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-ProfileFile <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-QosDscp <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

-DisableSri <String>

Required? false

Requiredfalse
Positionnamed
Default Value
Accept pipeline inputfalse
Accept wildcard charactersfalse

Example 1

C:\PS>Needs to write some examples

Example 2

C:\PS>Needs to write some examples