RemovePIFirewall Class
- Last UpdatedDec 15, 2025
- 2 minute read
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
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
| Name | Description | |
|---|---|---|
| RemovePIFirewall |
Properties
| Name | Description | |
|---|---|---|
| Connection | Connection to a PI Data Archive from which to remove the PI Firewall entry | |
| Hostmask | Hostmask of the PI Firewall entry to remove |
Examples
Remove-PIFirewall -Hostmask "192.168.0.56" -Connection $conWhere:
$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.