Login to participate
Endpoint Management & Virtualization BlogsRSS

Inventory Solution 7 and Powershell

rpoag's picture

I created a custom inventory in CMS 7 using powershell and it would not submit data for some reason.   I spoke with support and they said that powershell 1.0 does not support variant types and so cannot be used for custom inventory purposes.  Powershell 2.0 will support variant types but for now vbscript is the only option available.  Just a heads up.

Jeff Gebhart's picture

Anyone have .NET examples

I'd like to submit some data via the custom inventory DB from a .NET application (C# is my language of choice normally)...

Anyone have an example?

rpoag's picture

Powershell 2.0 has been

Powershell 2.0 has been released.  You can get it here: https://connect.microsoft.com/windowsmanagement/Downloads.

I have no C# examples.  Sorry.

Ryan Poag
Campbell & Company, Inc.
If your question has been resolved, please be sure to "Mark as Solution"! Thank you.

KSchroeder's picture

Ryan, These seem to still be

Ryan,
These seem to still be Release Candidates per the description provided...?

Windows Management Framework Release Candidate
Windows PowerShell 2.0 and WinRM 2.0 English Package with Release Notes  

Thanks,
Kyle
Symantec Trusted Advisor
If your question has been resolved, please be sure to click "Mark as Solution"! Thank you.

rpoag's picture

Yes but the release candidate

Yes but the release candidate is the actual release for Windows XP, Vista, and 2003 Server.  Windows 7 and 2008 R2 server ship with powershell 2 as part of the OS.

Ryan Poag
Campbell & Company, Inc.
If your question has been resolved, please be sure to "Mark as Solution"! Thank you.