VMware just released vCenter Update Manager PowerCLI utility for Update Manager 4.0 U1. This new upload requires Update Manager 4.0 U1 and VMware vCenter 4.0 U1 and includes the following new cmdlets:
|
Cmdlet Name
|
Description
|
|
Stage-Patch
|
Initializes staging of patches. Staging allows you to download patches from the Update Manager server to the ESX/ESXi hosts, without applying the patches immediately. This functionality is supported only for VMHost, Cluster, and Datacenter objects.
|
The following cmdlets have been renamed in this release:
|
New Cmdlet Name
|
Old Cmdlet Name
|
|
Download-Patch
|
Download-Update
|
|
Get-Patch
|
Get-Update
|
|
Get-PatchBaseline
|
Get-Baseline
|
|
New-PatchBaseline
|
New-Baseline
|
|
Set-PatchBaseline
|
Set-Baseline
|
The following parameters have been added to existing cmdlets in this release:
|
Cmdlet Name
|
Parameter Name
|
Description
|
|
New-PatchBaseline
|
Extension
|
Specify if the new patch baseline is Extension type. Do not use this parameter if the Dynamic parameter is set. Extension baselines can be only static (fixed) and are used to perform installation of extensions. An extension is any additional software that can be installed on the host or patched if the additional software already exists on the host.
|
|
Get-Compliance
|
Server
|
Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers.
|
|
ComplianceStatus
|
Specify the compliance status you want to retrieve. The valid values are Compliant, NotCompliant, Unknown, and Incompatible.
|
|
Baseline
|
Specify the baseline for which you want to retrieve the compliance status.
|
|
Detailed
|
Specify that you want to retrieve detailed information about the compliance. For patch baselines, the patches with different statuses are listed. For VMware Tools upgrade baselines, the detailed information contains the VMware Tools status. For VM Hardware upgrade baseline, the recommended VM Hardware version and the current VM Hardware version are displayed.
|
|
Remediate-Inventory
|
Server
|
Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers.
|
|
Scan-Inventory
|
Server
|
Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers.
|
|
UpdateType
|
Specify the type of the patches and upgrades you want to scan. The valid values are HostPatch, HostUpgrade, HostDVSUpgrade, VmPatch, VmHardwareUpgrade, VmToolsUpgrade, and VaUpgrade.
|
|
Detach-Baseline
|
Server
|
Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers.
|
|
Attach-Baseline
|
Server
|
Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers.
|
|
Get-Baseline
|
TargetType
|
Specify the target type of the baselines you want to retrieve. The valid values are VM, Host, and VA.
|
|
BaselineType
|
Specify the type of the baselines you want to retrieve. The valid values are Patch (patch baselines) and Upgrade (upgrade baselines).
|
|
BaselineContentType
|
Specify the content type of the baselines you want to retrieve. The valid values are Dynamic, Static, and Both.
|
|
Get-PatchBaseline
|
TargetType
|
Specify the target type of the patch baselines you want to retrieve. The valid values are VM, Host, and VA.
|
|
BaselineContentType
|
Specify the content type of the patch baselines you want to retrieve. The valid values are Dynamic, Static, and Both.
|
|
Extension
|
Specify that you want to retrieve only Extension patch baselines.
|
The following parameters have been renamed in this release:
|
Cmdlet Name
|
New Parameter Name
|
Old Parameter Name
|
|
Remediate-Inventory
|
ExlcludePatch
|
ExcludeUpdate
|
|
Set-PatchBaseline
|
IncludePatch
|
IncludeUpdate
|
|
ExcludePatch
|
ExcludeUpdate
|
|
SearchPatchPhrase
|
SearchUpdatePhrase
|
|
SearchPatchStartDate
|
SearchUpdateStartDate
|
|
SearchPatchEndDate
|
SearchUpdateEndDate
|
|
SearchPatchProduct
|
SearchUpdateProduct
|
|
SearchPatchVendor
|
SearchUpdateVendor
|
|
SearchPatchSeverity
|
SearchUpdateSeverity
|
|
Get-PatchBaseline
|
Patch
|
Update
|
The following cmdlets have been modified in this release:
|
Cmdlet
|
Change
|
|
Get-Baseline
|
Get-Baseline now returns all types of baselines:
- Virtual machine and host patch baselines
- Virtual machine, virtual appliance, and host upgrade baselines
- Host extension baselines
|
|
Get-Patch
|
The Server parameter of Get-Patch now accepts multiple VIServer objects.
|
Article Tags