How to use PowerShell to access methods and properties of a Third-Party OLE DLL?
问题 I am trying to write a PowerShell script which could access methods and properties of a third-party OLE DLL. The software vendor provided a working example in vbscript to achieve the same result. Below is an excerpt of the codes: Set objOLE = CreateObject("NETIQOLE.APPMANAGER") objOLE.Logon strInstance, strRepository, strUserID, strPwd ... However, when I tried to code in PowerShell as below: $objOLE = New-Object -ComObject "NETIQOLE.APPMANAGER" $objOLE | Get-Member I got output below and