![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | RE: Howto: Use a com object in Powershell did you try $vol.psobject | gm or .psbase? "allanhh" wrote: > I am trying to use a com object instance of the Novell volume administration > control (nwvola.ocx) to list file details on a Netware server. I have used > this technique successfully with vbscript and vb.net. Here's what I get: > > PS C:\> $vol = New-Object -comObject "NWVolAdmLib.NWVolAdmCtrl.1" > PS C:\> $vol | Get-Member > > TypeName: System.__ComObject#{ebe2fdab-6c8f-11d1-a149-00401c6047e4} > > Name MemberType Definition > ---- ---------- ---------- > AboutBox Method void AboutBox () > FindEntry Method INWEntry FindEntry (string) > Load Method bool Load () > Unload Method bool Unload () > > PS C:\> > > The problem is that only the methods are listed (there are several > properties), and I cannot read or set the properties. This also happens with > other Novell objects. > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: HowTo: Install missing hardware drivers using powershell scrip | PowerShell | |||
| Powershell and .Net Object | PowerShell | |||
| HowTo: Add an ActiveX control in PowerShell | PowerShell | |||
| HowTo: Reset Local User Password with Powershell. | PowerShell | |||
| HowTo: Monitor S.M.A.R.T data of HDD using PowerShell | PowerShell | |||