![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | softwares installed on a remote system Hi all, Can some one help me finding out the softwares installe on a remote system using powershell? I am able to find the installed softwares using "win32_product". When I am giving the -computer "computername", the error comes saying "Invalid class". Thanks, Sekhar |
My System Specs![]() |
| | #2 (permalink) |
| | RE: softwares installed on a remote system What OS does your remote machine use. have you tried running the code locally on that machine -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "sekhar" wrote: Quote: > Hi all, > > Can some one help me finding out the softwares installe on a remote system > using powershell? > I am able to find the installed softwares using "win32_product". When I am > giving the -computer "computername", the error comes saying "Invalid class". > > Thanks, > Sekhar |
My System Specs![]() |
| | #3 (permalink) |
| | RE: softwares installed on a remote system Hi Richard, The remote system os is windows 2003. But this command is not working for any of the remote system. To run locally on the remote system, i have to install powershell there also. I think there might be a syntax mistake. Can you please help me out? "RichS" wrote: Quote: > What OS does your remote machine use. have you tried running the code > locally on that machine > -- > Richard Siddaway > Please note that all scripts are supplied "as is" and with no warranty > Blog: http://richardsiddaway.spaces.live.com/ > PowerShell User Group: http://www.get-psuguk.org.uk > > > "sekhar" wrote: > Quote: > > Hi all, > > > > Can some one help me finding out the softwares installe on a remote system > > using powershell? > > I am able to find the installed softwares using "win32_product". When I am > > giving the -computer "computername", the error comes saying "Invalid class". > > > > Thanks, > > Sekhar |
My System Specs![]() |
| | #4 (permalink) |
| | RE: softwares installed on a remote system can you post the code you are using -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "sekhar" wrote: Quote: > Hi Richard, > The remote system os is windows 2003. But this command is not working for > any of the remote system. To run locally on the remote system, i have to > install powershell there also. I think there might be a syntax mistake. Can > you please help me out? > > "RichS" wrote: > Quote: > > What OS does your remote machine use. have you tried running the code > > locally on that machine > > -- > > Richard Siddaway > > Please note that all scripts are supplied "as is" and with no warranty > > Blog: http://richardsiddaway.spaces.live.com/ > > PowerShell User Group: http://www.get-psuguk.org.uk > > > > > > "sekhar" wrote: > > Quote: > > > Hi all, > > > > > > Can some one help me finding out the softwares installe on a remote system > > > using powershell? > > > I am able to find the installed softwares using "win32_product". When I am > > > giving the -computer "computername", the error comes saying "Invalid class". > > > > > > Thanks, > > > Sekhar |
My System Specs![]() |
| | #5 (permalink) |
| | RE: softwares installed on a remote system Ya, sure. Here you go: $prod = Get-WmiObject win32_product -computer computername The error I am getting is: Get-WmiObject : Invalid class At line:1 char:22 + $prod = Get-WmiObject <<<< win32_product -computer computername "RichS" wrote: Quote: > can you post the code you are using > -- > Richard Siddaway > Please note that all scripts are supplied "as is" and with no warranty > Blog: http://richardsiddaway.spaces.live.com/ > PowerShell User Group: http://www.get-psuguk.org.uk > > > "sekhar" wrote: > Quote: > > Hi Richard, > > The remote system os is windows 2003. But this command is not working for > > any of the remote system. To run locally on the remote system, i have to > > install powershell there also. I think there might be a syntax mistake. Can > > you please help me out? > > > > "RichS" wrote: > > Quote: > > > What OS does your remote machine use. have you tried running the code > > > locally on that machine > > > -- > > > Richard Siddaway > > > Please note that all scripts are supplied "as is" and with no warranty > > > Blog: http://richardsiddaway.spaces.live.com/ > > > PowerShell User Group: http://www.get-psuguk.org.uk > > > > > > > > > "sekhar" wrote: > > > > > > > Hi all, > > > > > > > > Can some one help me finding out the softwares installe on a remote system > > > > using powershell? > > > > I am able to find the installed softwares using "win32_product". When I am > > > > giving the -computer "computername", the error comes saying "Invalid class". > > > > > > > > Thanks, > > > > Sekhar |
My System Specs![]() |
| | #6 (permalink) |
| | Re: softwares installed on a remote system I am not sure you know this, but that class is not a safe one to assume is there... i.e. you have to install on Win2k3. "sekhar" <sekhar@xxxxxx> wrote in message news:2DE04E18-4884-4221-B7B1-C9B00A9D8607@xxxxxx Quote: > Ya, sure. Here you go: > > $prod = Get-WmiObject win32_product -computer computername > > The error I am getting is: > Get-WmiObject : Invalid class > At line:1 char:22 > + $prod = Get-WmiObject <<<< win32_product -computer computername > > > "RichS" wrote: > Quote: >> can you post the code you are using >> -- >> Richard Siddaway >> Please note that all scripts are supplied "as is" and with no warranty >> Blog: http://richardsiddaway.spaces.live.com/ >> PowerShell User Group: http://www.get-psuguk.org.uk >> >> >> "sekhar" wrote: >> Quote: >> > Hi Richard, >> > The remote system os is windows 2003. But this command is not working >> > for >> > any of the remote system. To run locally on the remote system, i have >> > to >> > install powershell there also. I think there might be a syntax mistake. >> > Can >> > you please help me out? >> > >> > "RichS" wrote: >> > >> > > What OS does your remote machine use. have you tried running the >> > > code >> > > locally on that machine >> > > -- >> > > Richard Siddaway >> > > Please note that all scripts are supplied "as is" and with no >> > > warranty >> > > Blog: http://richardsiddaway.spaces.live.com/ >> > > PowerShell User Group: http://www.get-psuguk.org.uk >> > > >> > > >> > > "sekhar" wrote: >> > > >> > > > Hi all, >> > > > >> > > > Can some one help me finding out the softwares installe on a remote >> > > > system >> > > > using powershell? >> > > > I am able to find the installed softwares using "win32_product". >> > > > When I am >> > > > giving the -computer "computername", the error comes saying >> > > > "Invalid class". >> > > > >> > > > Thanks, >> > > > Sekhar |
My System Specs![]() |
| | #7 (permalink) |
| | Re: softwares installed on a remote system Agree. In addition, You might get only a small portion of products since win32_product lists only products that were installed via Windows Installer. Shay http://scriptolog.blogspot.com Quote: > I am not sure you know this, but that class is not a safe one to > assume is there... i.e. you have to install on Win2k3. > > "sekhar" <sekhar@xxxxxx> wrote in message > news:2DE04E18-4884-4221-B7B1-C9B00A9D8607@xxxxxx > Quote: >> Ya, sure. Here you go: >> >> $prod = Get-WmiObject win32_product -computer computername >> >> The error I am getting is: >> Get-WmiObject : Invalid class >> At line:1 char:22 >> + $prod = Get-WmiObject <<<< win32_product -computer computername >> "RichS" wrote: >> Quote: >>> can you post the code you are using >>> -- >>> Richard Siddaway >>> Please note that all scripts are supplied "as is" and with no >>> warranty >>> Blog: http://richardsiddaway.spaces.live.com/ >>> PowerShell User Group: http://www.get-psuguk.org.uk >>> "sekhar" wrote: >>> >>>> Hi Richard, >>>> The remote system os is windows 2003. But this command is not >>>> working >>>> for >>>> any of the remote system. To run locally on the remote system, i >>>> have >>>> to >>>> install powershell there also. I think there might be a syntax >>>> mistake. >>>> Can >>>> you please help me out? >>>> "RichS" wrote: >>>> >>>>> What OS does your remote machine use. have you tried running the >>>>> code >>>>> locally on that machine >>>>> -- >>>>> Richard Siddaway >>>>> Please note that all scripts are supplied "as is" and with no >>>>> warranty >>>>> Blog: http://richardsiddaway.spaces.live.com/ >>>>> PowerShell User Group: http://www.get-psuguk.org.uk >>>>> "sekhar" wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> Can some one help me finding out the softwares installe on a >>>>>> remote >>>>>> system >>>>>> using powershell? >>>>>> I am able to find the installed softwares using "win32_product". >>>>>> When I am >>>>>> giving the -computer "computername", the error comes saying >>>>>> "Invalid class". >>>>>> Thanks, >>>>>> Sekhar |
My System Specs![]() |
| | #8 (permalink) |
| | Re: softwares installed on a remote system So, you mean to say that if i will install on a win2k3 server, i should be able to retrieve remote product information from all other win2k3 servers. Please confirm. "Brandon Shell" wrote: Quote: > I am not sure you know this, but that class is not a safe one to assume is > there... i.e. you have to install on Win2k3. > > "sekhar" <sekhar@xxxxxx> wrote in message > news:2DE04E18-4884-4221-B7B1-C9B00A9D8607@xxxxxx Quote: > > Ya, sure. Here you go: > > > > $prod = Get-WmiObject win32_product -computer computername > > > > The error I am getting is: > > Get-WmiObject : Invalid class > > At line:1 char:22 > > + $prod = Get-WmiObject <<<< win32_product -computer computername > > > > > > "RichS" wrote: > > Quote: > >> can you post the code you are using > >> -- > >> Richard Siddaway > >> Please note that all scripts are supplied "as is" and with no warranty > >> Blog: http://richardsiddaway.spaces.live.com/ > >> PowerShell User Group: http://www.get-psuguk.org.uk > >> > >> > >> "sekhar" wrote: > >> > >> > Hi Richard, > >> > The remote system os is windows 2003. But this command is not working > >> > for > >> > any of the remote system. To run locally on the remote system, i have > >> > to > >> > install powershell there also. I think there might be a syntax mistake. > >> > Can > >> > you please help me out? > >> > > >> > "RichS" wrote: > >> > > >> > > What OS does your remote machine use. have you tried running the > >> > > code > >> > > locally on that machine > >> > > -- > >> > > Richard Siddaway > >> > > Please note that all scripts are supplied "as is" and with no > >> > > warranty > >> > > Blog: http://richardsiddaway.spaces.live.com/ > >> > > PowerShell User Group: http://www.get-psuguk.org.uk > >> > > > >> > > > >> > > "sekhar" wrote: > >> > > > >> > > > Hi all, > >> > > > > >> > > > Can some one help me finding out the softwares installe on a remote > >> > > > system > >> > > > using powershell? > >> > > > I am able to find the installed softwares using "win32_product". > >> > > > When I am > >> > > > giving the -computer "computername", the error comes saying > >> > > > "Invalid class". > >> > > > > >> > > > Thanks, > >> > > > Sekhar > |
My System Specs![]() |
| | #9 (permalink) |
| | Re: softwares installed on a remote system That is $true, but note that not all properties are available and it only works for applications that are installed using Windows Installer (as Shay said.) This link will tell you what properties you can access http://msdn2.microsoft.com/en-us/library/aa394378.aspx "sekhar" <sekhar@xxxxxx> wrote in message news:91450596-9E31-4607-8D19-D0316A95FFFD@xxxxxx Quote: > So, you mean to say that if i will install on a win2k3 server, i should be > able to retrieve remote product information from all other win2k3 servers. > Please confirm. > > "Brandon Shell" wrote: > Quote: >> I am not sure you know this, but that class is not a safe one to assume >> is >> there... i.e. you have to install on Win2k3. >> >> "sekhar" <sekhar@xxxxxx> wrote in message >> news:2DE04E18-4884-4221-B7B1-C9B00A9D8607@xxxxxx Quote: >> > Ya, sure. Here you go: >> > >> > $prod = Get-WmiObject win32_product -computer computername >> > >> > The error I am getting is: >> > Get-WmiObject : Invalid class >> > At line:1 char:22 >> > + $prod = Get-WmiObject <<<< win32_product -computer computername >> > >> > >> > "RichS" wrote: >> > >> >> can you post the code you are using >> >> -- >> >> Richard Siddaway >> >> Please note that all scripts are supplied "as is" and with no warranty >> >> Blog: http://richardsiddaway.spaces.live.com/ >> >> PowerShell User Group: http://www.get-psuguk.org.uk >> >> >> >> >> >> "sekhar" wrote: >> >> >> >> > Hi Richard, >> >> > The remote system os is windows 2003. But this command is not >> >> > working >> >> > for >> >> > any of the remote system. To run locally on the remote system, i >> >> > have >> >> > to >> >> > install powershell there also. I think there might be a syntax >> >> > mistake. >> >> > Can >> >> > you please help me out? >> >> > >> >> > "RichS" wrote: >> >> > >> >> > > What OS does your remote machine use. have you tried running the >> >> > > code >> >> > > locally on that machine >> >> > > -- >> >> > > Richard Siddaway >> >> > > Please note that all scripts are supplied "as is" and with no >> >> > > warranty >> >> > > Blog: http://richardsiddaway.spaces.live.com/ >> >> > > PowerShell User Group: http://www.get-psuguk.org.uk >> >> > > >> >> > > >> >> > > "sekhar" wrote: >> >> > > >> >> > > > Hi all, >> >> > > > >> >> > > > Can some one help me finding out the softwares installe on a >> >> > > > remote >> >> > > > system >> >> > > > using powershell? >> >> > > > I am able to find the installed softwares using "win32_product". >> >> > > > When I am >> >> > > > giving the -computer "computername", the error comes saying >> >> > > > "Invalid class". >> >> > > > >> >> > > > Thanks, >> >> > > > Sekhar >> |
My System Specs![]() |
| | #10 (permalink) |
| | Re: softwares installed on a remote system Any other code that can fulfil my requirement? From my xp system, i will be able to retrieve the information. "Brandon Shell" wrote: Quote: > That is $true, but note that not all properties are available and it only > works for applications that are installed using Windows Installer (as Shay > said.) > > This link will tell you what properties you can access > http://msdn2.microsoft.com/en-us/library/aa394378.aspx > > "sekhar" <sekhar@xxxxxx> wrote in message > news:91450596-9E31-4607-8D19-D0316A95FFFD@xxxxxx Quote: > > So, you mean to say that if i will install on a win2k3 server, i should be > > able to retrieve remote product information from all other win2k3 servers. > > Please confirm. > > > > "Brandon Shell" wrote: > > Quote: > >> I am not sure you know this, but that class is not a safe one to assume > >> is > >> there... i.e. you have to install on Win2k3. > >> > >> "sekhar" <sekhar@xxxxxx> wrote in message > >> news:2DE04E18-4884-4221-B7B1-C9B00A9D8607@xxxxxx > >> > Ya, sure. Here you go: > >> > > >> > $prod = Get-WmiObject win32_product -computer computername > >> > > >> > The error I am getting is: > >> > Get-WmiObject : Invalid class > >> > At line:1 char:22 > >> > + $prod = Get-WmiObject <<<< win32_product -computer computername > >> > > >> > > >> > "RichS" wrote: > >> > > >> >> can you post the code you are using > >> >> -- > >> >> Richard Siddaway > >> >> Please note that all scripts are supplied "as is" and with no warranty > >> >> Blog: http://richardsiddaway.spaces.live.com/ > >> >> PowerShell User Group: http://www.get-psuguk.org.uk > >> >> > >> >> > >> >> "sekhar" wrote: > >> >> > >> >> > Hi Richard, > >> >> > The remote system os is windows 2003. But this command is not > >> >> > working > >> >> > for > >> >> > any of the remote system. To run locally on the remote system, i > >> >> > have > >> >> > to > >> >> > install powershell there also. I think there might be a syntax > >> >> > mistake. > >> >> > Can > >> >> > you please help me out? > >> >> > > >> >> > "RichS" wrote: > >> >> > > >> >> > > What OS does your remote machine use. have you tried running the > >> >> > > code > >> >> > > locally on that machine > >> >> > > -- > >> >> > > Richard Siddaway > >> >> > > Please note that all scripts are supplied "as is" and with no > >> >> > > warranty > >> >> > > Blog: http://richardsiddaway.spaces.live.com/ > >> >> > > PowerShell User Group: http://www.get-psuguk.org.uk > >> >> > > > >> >> > > > >> >> > > "sekhar" wrote: > >> >> > > > >> >> > > > Hi all, > >> >> > > > > >> >> > > > Can some one help me finding out the softwares installe on a > >> >> > > > remote > >> >> > > > system > >> >> > > > using powershell? > >> >> > > > I am able to find the installed softwares using "win32_product". > >> >> > > > When I am > >> >> > > > giving the -computer "computername", the error comes saying > >> >> > > > "Invalid class". > >> >> > > > > >> >> > > > Thanks, > >> >> > > > Sekhar > >> > >> > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How to view remote certificates installed on remote machine? | PowerShell | |||
| Softwares that try to connect to remote repositories fail. | Vista General | |||
| where are vista pre-installed remote control drivers+registry entr | Vista file management | |||
| list installed certs on remote machine | PowerShell | |||
| Remote assistance fix for Vista with AV software installed? | Vista General | |||