Last active
August 10, 2016 08:21
-
-
Save Dan1el42/62cf596638244f11c1497e8ce1d8db8d to your computer and use it in GitHub Desktop.
Post reference: https://powershell.org/forums/topic/filtering-and-formatting/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Params = @{ | |
Query = "SELECT [CERTIFIED & UNASSESSED SKILL] FROM master where [CERTIFIED & UNASSESSED SKILL] LIKE '%Citrix%'" | |
ServerInstance = 'dc2012\sqlexpress' | |
Database = 'final' | |
} | |
Invoke-Sqlcmd @Params | ForEach-Object { $_['CERTIFIED & UNASSESSED SKILL'] -split ',' } | Where-Object { $_ -like '*Citrix*' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment