models/NetshUtils.Models.ps1
class SslCert { [string]$IpPort [string]$CertHash [guid]$AppId [hashtable]$Properties SslCert ([hashtable]$properties) { $this.IpPort = $properties.'IP:port' $this.CertHash = $properties.'Certificate Hash' $this.AppId = ([guid]$properties.'Application ID').Guid $this.Properties = $properties } } class UrlAcl { [string]$Url [hashtable]$Users UrlAcl([string]$Url) { $this.Url = $Url $this.Users = @{} } } class PortProxy { [string]$InternetProtocol [string]$ListenAddress [int]$ListenPort [string]$ConnectAddress [int]$ConnectPort PortProxy() { } } |