Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove-PSWSUSUpdate.ps1 Error when using pipelining #35

Open
seryi74 opened this issue Mar 10, 2017 · 0 comments
Open

Remove-PSWSUSUpdate.ps1 Error when using pipelining #35

seryi74 opened this issue Mar 10, 2017 · 0 comments

Comments

@seryi74
Copy link

seryi74 commented Mar 10, 2017

I tried to run the command:

Get-PSWSUSUpdate -Update Itanium | Remove-PSWSUSUpdate

and received an error:

Исключение при вызове "SearchUpdates" с "1" аргументами: "Заданный аргумент находится вне диапазона допустимых значений
.
Имя параметра: Заданный аргумент находится вне диапазона допустимых значений.
Имя параметра: searchText"
D:\wsus\poshwsus\Scripts\Remove-PSWSUSUpdate.ps1:49 знак:13

  •         $patches = $wsus.SearchUpdates($update)
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : ArgumentOutOfRangeException

Sorry for the Russian interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant