Get-CMSoftwareUpdate

Get-CMSoftwareUpdate

Retrieves configuration settings for software updates.

構文

Parameter Set: SearchByName
Get-CMSoftwareUpdate [-Name <String[]> ] [-SecuredScopeNames <String> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMSoftwareUpdate -Id <String[]> [-SecuredScopeNames <String> ] [ <CommonParameters>]

Parameter Set: SearchByUpdateGroup
Get-CMSoftwareUpdate -UpdateGroup <IResultObject> [ <CommonParameters>]

Parameter Set: SearchByUpdateGroupIdMandatory
Get-CMSoftwareUpdate -UpdateGroupId <String[]> [ <CommonParameters>]

Parameter Set: SearchByUpdateGroupNameMandatory
Get-CMSoftwareUpdate -UpdateGroupName <String[]> [ <CommonParameters>]

詳細説明

The Get-CMSoftwareUpdate cmdlet retrieves configuration settings for one or more software updates. Clients receive a software update object when manually or automatically deploying a software update.

パラメーター

-Id<String[]>

Specifies an array of IDs of software updates.

エイリアス

CIId

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Name<String[]>

Specifies an array of names of software updates.

エイリアス

LocalizedDisplayName

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-SecuredScopeNames<String>

Specifies a security scope for the deployment package. The default value is Default.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-UpdateGroup<IResultObject>

Specifies a CMSoftwareUpdate object.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-UpdateGroupId<String[]>

Specifies an array of IDs of update groups.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-UpdateGroupName<String[]>

Specifies an array of names of update groups.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Retrieve all software updates

This command retrieves all software updates.

PS C:\> Get-CMSoftwareUpdate

Example 2: Retrieve a software update by using a name

This command retrieves the software update named Cumulative Security Update for ActiveX Killbits for Windows 7 (KB2618451).

PS C:\> Get-CMSoftwareUpdate -Name "Cumulative Security Update for ActiveX Killbits for Windows 7 (KB2618451)"

関連トピック

Save-CMSoftwareUpdate

Set-CMSoftwareUpdate

Sync-CMSoftwareUpdate