Microsoft.Management.Infrastructure.CimInstance#MSFT_OdbcDriver Attribute $h = @{}; foreach ($keyValue in $this.KeyValuePair) { $h.Add( $keyValue.Key, $keyValue.Value ) } $h Microsoft.Management.Infrastructure.CimInstance#MSFT_OdbcDsn Attribute $h = @{}; foreach ($keyValue in $this.KeyValuePair) { $h.Add( $keyValue.Key, $keyValue.Value ) } $h PropertyValue $PropArray = @(); foreach ($keyValue in $this.KeyValuePair) { $PropArray = $PropArray + ($keyValue.Key + "=" + $keyValue.Value) } $PropArray Microsoft.Management.Infrastructure.CimInstance#MSFT_WdacBidTrace TargetScope switch ($this.Mode) { 1 {$this.PathOrFolder} 2 {$this.PathOrFolder + "\*"} 3 {"*"} default {"Unknown Mode"} } TargetProcessId if ($this.ProcessId -eq [System.UInt32]::maxvalue) { "*" } else { [System.String] $this.ProcessId }