Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

RemovePIFirewall Class

  • Last UpdatedDec 15, 2025
  • 2 minute read
RemovePIFirewall Class

Add an entry in the PI Firewall Table

The Add-PIFirewall cmdlet adds an entry in the PI Firewall table

The connection parameter specifies which connection to a PI Data Archive to use.

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellRemovePIFirewall

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[CmdletAttribute("Remove", "PIFirewall", SupportsShouldProcess = true)]
public class RemovePIFirewall : OSICmdletBase
<CmdletAttribute("Remove", "PIFirewall", SupportsShouldProcess := true)>
Public Class RemovePIFirewall
	Inherits OSICmdletBase

Dim instance As RemovePIFirewall
[CmdletAttribute(L"Remove", L"PIFirewall", SupportsShouldProcess = true)]
public ref class RemovePIFirewall : public OSICmdletBase
[<CmdletAttribute("Remove", "PIFirewall", SupportsShouldProcess = true)>]
type RemovePIFirewall =  
    class
        inherit OSICmdletBase
    end

The RemovePIFirewall type exposes the following members.

Constructors

  NameDescription
Public method
RemovePIFirewall

Properties

  NameDescription
Public property
Connection

Connection to a PI Data Archive from which to remove the PI Firewall entry

Public property
Hostmask

Hostmask of the PI Firewall entry to remove

Examples

Remove-PIFirewall -Hostmask "192.168.0.56" -Connection $con

Where:

$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"

Removes an entry in the PI Firewall table for IP Address 192.168.0.56 on the "PISRV1" PI Data Archive server.

See Also

TitleResults for “How to create a CRG?”Also Available in