Last active
January 21, 2025 10:51
-
-
Save alevyinroc/ec6619b186e1a80dba4b2df3cd57871c to your computer and use it in GitHub Desktop.
Running Compare-Object on Get-DbaSpConfigure output
This file contains hidden or 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
| $Prod = Get-DbaSpConfigure -SqlInstance PROD -SqlCredential (get-credential -Message "Prod" -UserName MySQLLogin); | |
| $Test1 = Get-DbaSpConfigure -SqlInstance Test1; | |
| Compare-Object -ReferenceObject $Test1 -DifferenceObject $Prod -property ConfigName,RunningValue|Sort-Object ConfigName; | |
| ConfigName RunningValue SideIndicator | |
| ---------- ------------ ------------- | |
| MaxDegreeOfParallelism 6 => | |
| MaxDegreeOfParallelism 4 <= | |
| MaxServerMemory 563200 => | |
| MaxServerMemory 25600 <= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment