You are on page 1of 11

Microsoft Powershell

Command Descriptions

Module:
Windows Update
Provider

This has been compiled by Les Lewis

Information was not changed; however, formatting was


updated to make more readable.
Contents

Get-WUAVersion ..................................................................................................................... 4
SYNTAX ................................................................................................................................ 4
INPUTS ................................................................................................................................ 4
OUTPUTS ............................................................................................................................ 4
ALIASES .............................................................................................................................. 5
REMARKS .............................................................................................................................. 5
Get-WUIsPendingReboot ......................................................................................................... 5
SYNTAX ................................................................................................................................ 5
INPUTS ................................................................................................................................ 6
OUTPUTS .............................................................................................................................. 6
ALIASES .............................................................................................................................. 6
REMARKS .............................................................................................................................. 6
Get-WULastInstallationDate ..................................................................................................... 6
SYNTAX ................................................................................................................................ 6
INPUTS ................................................................................................................................ 7
OUTPUTS .............................................................................................................................. 7
ALIASES .............................................................................................................................. 7
REMARKS .............................................................................................................................. 7
Get-WULastScanSuccessDate ................................................................................................ 7
SYNTAX ................................................................................................................................ 7
INPUTS ................................................................................................................................ 8
OUTPUTS .............................................................................................................................. 8
ALIASES .............................................................................................................................. 8
REMARKS .............................................................................................................................. 8
Install-WUUpdates ................................................................................................................... 8
SYNTAX ................................................................................................................................ 9
INPUTS ...............................................................................................................................10
OUTPUTS .............................................................................................................................10
ALIASES .............................................................................................................................10
REMARKS .............................................................................................................................10
Start-WUScan .........................................................................................................................10
SYNTAX ...............................................................................................................................10
INPUTS ...............................................................................................................................11
OUTPUTS .............................................................................................................................11
ALIASES .............................................................................................................................11
REMARKS .............................................................................................................................11
NAME

Get-WUAVersion
SYNTAX
Get-WUAVersion [-CimSession <CimSession[]>] [-ThrottleLimit <int>] [-
AsJob] [<CommonParameters>]

PARAMETERS
-AsJob

Required? false
Position? Named
Accept pipeline input? false
Parameter set name GetWUAVersion0
Aliases None
Dynamic? false

-CimSession <CimSession[]>

Required? false
Position? Named
Accept pipeline input? false
Parameter set name GetWUAVersion0
Aliases Session
Dynamic? false

-ThrottleLimit <int>

Required? false
Position? Named
Accept pipeline input? false
Parameter set name GetWUAVersion0
Aliases None
Dynamic? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more
information, see about_CommonParameters
(https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS
None

OUTPUTS
System.String
ALIASES
None

REMARKS
Get-Help cannot find the Help files for this cmdlet on this computer.
It is displaying only partial help.
-- To download and install Help files for the module that
includes this cmdlet, use Update-Help.

NAME

Get-WUIsPendingReboot
SYNTAX
Get-WUIsPendingReboot [-CimSession <CimSession[]>] [-ThrottleLimit
<int>] [-AsJob] [<CommonParameters>]

PARAMETERS
-AsJob

Required? false
Position? Named
Accept pipeline input? false
Parameter set name IsPendingReboot3
Aliases None
Dynamic? false

-CimSession <CimSession[]>

Required? false
Position? Named
Accept pipeline input? false
Parameter set name IsPendingReboot3
Aliases Session
Dynamic? false

-ThrottleLimit <int>

Required? false
Position? Named
Accept pipeline input? false
Parameter set name IsPendingReboot3
Aliases None
Dynamic? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more
information, see about_CommonParameters
(https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS
None

OUTPUTS
System.Boolean

ALIASES
None

REMARKS
Get-Help cannot find the Help files for this cmdlet on this computer.
It is displaying only partial help.
-- To download and install Help files for the module that
includes this cmdlet, use Update-Help.

NAME

Get-WULastInstallationDate
SYNTAX
Get-WULastInstallationDate [-CimSession <CimSession[]>] [-
ThrottleLimit <int>] [-AsJob] [<CommonParameters>]

PARAMETERS
-AsJob

Required? false
Position? Named
Accept pipeline input? false
Parameter set name GetLastUpdateInstallationDate1
Aliases None
Dynamic? false

-CimSession <CimSession[]>

Required? false
Position? Named
Accept pipeline input? false
Parameter set name GetLastUpdateInstallationDate1
Aliases Session
Dynamic? false
-ThrottleLimit <int>

Required? false
Position? Named
Accept pipeline input? false
Parameter set name GetLastUpdateInstallationDate1
Aliases None
Dynamic? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more
information, see about_CommonParameters
(https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS
None

OUTPUTS
System.DateTime

ALIASES
None

REMARKS
Get-Help cannot find the Help files for this cmdlet on this computer.
It is displaying only partial help.
-- To download and install Help files for the module that
includes this cmdlet, use Update-Help.

NAME

Get-WULastScanSuccessDate
SYNTAX
Get-WULastScanSuccessDate [-CimSession <CimSession[]>] [-
ThrottleLimit <int>] [-AsJob] [<CommonParameters>]

PARAMETERS
-AsJob

Required? false
Position? Named
Accept pipeline input? false
Parameter set name GetLastScanSuccessDate2
Aliases None
Dynamic? false

-CimSession <CimSession[]>

Required? false
Position? Named
Accept pipeline input? false
Parameter set name GetLastScanSuccessDate2
Aliases Session
Dynamic? false

-ThrottleLimit <int>

Required? false
Position? Named
Accept pipeline input? false
Parameter set name GetLastScanSuccessDate2
Aliases None
Dynamic? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more
information, see about_CommonParameters
(https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS
None

OUTPUTS
System.DateTime

ALIASES
None

REMARKS
Get-Help cannot find the Help files for this cmdlet on this computer.
It is displaying only partial help.
-- To download and install Help files for the module that
includes this cmdlet, use Update-Help.

NAME

Install-WUUpdates
SYNTAX
Install-WUUpdates [-Updates] <ciminstance[]> [[-DownloadOnly] <bool>]
[-CimSession <CimSession[]>]
[-ThrottleLimit <int>] [-AsJob] [<CommonParameters>]

PARAMETERS
-AsJob

Required? false
Position? Named
Accept pipeline input? false
Parameter set name InstallUpdates0
Aliases None
Dynamic? false

-CimSession <CimSession[]>

Required? false
Position? Named
Accept pipeline input? false
Parameter set name InstallUpdates0
Aliases Session
Dynamic? false

-DownloadOnly <bool>

Required? false
Position? 1
Accept pipeline input? false
Parameter set name InstallUpdates0
Aliases None
Dynamic? false

-ThrottleLimit <int>

Required? false
Position? Named
Accept pipeline input? false
Parameter set name InstallUpdates0
Aliases None
Dynamic? false

-Updates <ciminstance[]>

Required? true
Position? 0
Accept pipeline input? false
Parameter set name InstallUpdates0
Aliases None
Dynamic? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more
information, see about_CommonParameters
(https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS
None

OUTPUTS
System.Boolean

ALIASES
None

REMARKS
Get-Help cannot find the Help files for this cmdlet on this computer.
It is displaying only partial help.
-- To download and install Help files for the module that
includes this cmdlet, use Update-Help.

NAME

Start-WUScan
SYNTAX
Start-WUScan [[-SearchCriteria] <Object>] [<CommonParameters>]

PARAMETERS
-SearchCriteria <Object>

Required? false
Position? 0
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more
information, see about_CommonParameters
(https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None

OUTPUTS
System.Object

ALIASES
None

REMARKS
Get-Help cannot find the Help files for this cmdlet on this computer.
It is displaying only partial help.
-- To download and install Help files for the module that
includes this cmdlet, use Update-Help.