Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request proxb#27 from Windos/master
Browse files Browse the repository at this point in the history
InstallState(s) -> InstallationState(s)
  • Loading branch information
proxb authored Oct 19, 2016
2 parents 3c29c92 + 90dfb47 commit d687417
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Scripts/Get-PSWSUSUpdate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Get-PSWSUSUpdate {
.PARAMETER IncludedInstallationState
Installation states to search for
.PARAMETER ExcludedInstallState
.PARAMETER ExcludedInstallationState
Installation states to exclude
.PARAMETER FromArrivalDate
Expand Down Expand Up @@ -128,7 +128,7 @@ function Get-PSWSUSUpdate {
[Parameter(ParameterSetName='UpdateScope')]
[Microsoft.UpdateServices.Administration.UpdateInstallationStates]$IncludedInstallationState,
[Parameter(ParameterSetName='UpdateScope')]
[Microsoft.UpdateServices.Administration.UpdateInstallationStates]$ExcludedInstallState,
[Microsoft.UpdateServices.Administration.UpdateInstallationStates]$ExcludedInstallationState,
[Parameter(ParameterSetName='UpdateScope')]
[DateTime]$FromArrivalDate,
[Parameter(ParameterSetName='UpdateScope')]
Expand Down Expand Up @@ -156,8 +156,8 @@ function Get-PSWSUSUpdate {
If ($PSBoundParameters['IncludedInstallationState']) {
$UpdateScope.IncludedInstallationStates = $IncludedInstallationState
}
If ($PSBoundParameters['ExcludedInstallState']) {
$UpdateScope.ExcludedInstallStates = $ExcludedInstallState
If ($PSBoundParameters['ExcludedInstallationState']) {
$UpdateScope.ExcludedInstallationStates = $ExcludedInstallationState
}
If ($PSBoundParameters['UpdateApprovalAction']) {
$UpdateScope.UpdateApprovalActions = $UpdateApprovalAction
Expand Down

0 comments on commit d687417

Please sign in to comment.