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

UpdateServicesServer - Products #13

Closed
PRL-GIT opened this issue Nov 6, 2016 · 0 comments · Fixed by #71
Closed

UpdateServicesServer - Products #13

PRL-GIT opened this issue Nov 6, 2016 · 0 comments · Fixed by #71
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.

Comments

@PRL-GIT
Copy link

PRL-GIT commented Nov 6, 2016

As an example i'm trying to update all SQL servers using Update Services
I will need to create a list like this

Microsoft SQL Server 2008 R2 - PowerPivot for Microsoft Excel 2010
Microsoft SQL Server 2012
Microsoft SQL Server 2014
Microsoft SQL Server 2016
Microsoft SQL Server PowerPivot for Excel
SQL Server 2000
SQL Server 2005
SQL Server 2008 R2
SQL Server 2008
SQL Server 2012 Product Updates for Setup
SQL Server 2014-2016 Product Updates for Setup
SQL Server Feature Pack
SQL Server

if($WsusProduct = $AllWsusProducts | Where-Object {$_.Title -eq $Product})

If the above like could be changes to

if($WsusProduct = $AllWsusProducts | Where-Object {$_.Title -like $Product})

it will allow me to do just the following keyword "SQL Server"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
2 participants