User`s guide

Table Of Contents
To collect Windows Custom Information (WCI) using script-based filters, you must do the following
tasks:
n
Create and verify your custom PowerShell script.
n
Install PowerShell on the VCM managed machines to be used for WCI collections.
n
Use VCM to collect WCI data from the managed machines using your script-based filter.
You can view the job status details and collection results, and run reports on the collected data.
Prerequisites to Collect Windows Custom Information
To collect Windows Custom Information from VCM managed machines, you have several prerequisites.
Prerequisites
n
Understand how to write and run PowerShell scripts. See "References on PowerShell and Script Signing"
on page 98 or the Windows PowerShell online help.
n
Write your own PowerShell script to return data in a VCM compatible, element-normal XML format,
or obtain PowerShell scripts from VMware Professional Services or another source. See "Using
PowerShell Scripts for WCI Collections" on page 93.
n
Make sure that your PowerShell script is accessible when you paste the script content into the Script
area of the collection filter on the VCM Collector.
n
Confirm that the VCM Collector includes PowerShell 2.0 if the Collector is a client for WCI collections.
n
Confirm that PowerShell 2.0 is installed on each VCM managed machine that will be used for WCI
collections. See "Install PowerShell" on page 106.
n
Upgrade older VCMAgents on the VCM managed machines from which you collect Windows Custom
Information, and then install the VCM 5.3 Agent or later on these machines.
n
Understand the script signing policies if you use PowerShell 2.0. See "PowerShell Script Signing Policies"
on page 97.
n
Set the PowerShell execution policy on the VCM managed machine. See "Built-in PowerShell Policy
Settings" on page 98.
n
Understand how VCM manages Windows Custom Information data changes. See "Windows Custom
Information Change Management" on page 103.
n
Confirm or update the Agent Thread Administration settings on the VCM Collector. The default value
is set to below normal thread priority, and the Agent Data Retention default is set to a 15-day change
log. See the online help.
Using PowerShell Scripts for WCI Collections
Windows Custom Information (WCI) uses PowerShell as the scripting engine and the element-normal
XML format as the output that is inserted into the VCM database.
WCI supports PowerShell 2.0 and works with later versions of PowerShell.
n
PowerShell 2.0 is the base requirement for WCI in VCM because of its ability to set the execution policy
at the process level.
n
You can run WCI PowerShell collection scripts against Windows machines that have PowerShell 1.0
installed, although this usage is not supported or tested. If the collection scripts do not use PowerShell
2.0 commands, your WCI filters that use the in-line method to pass a WCI script to PowerShell will
operate correctly.
Getting Started with VCM
VMware, Inc. 93