Last active
September 12, 2017 19:45
-
-
Save alevyinroc/ec6619b186e1a80dba4b2df3cd57871c to your computer and use it in GitHub Desktop.
Running Compare-Object on Get-DbaSpConfigure output
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
$Prod = Get-DbaSpConfigure -ServerInstance PROD -SqlCredential (get-credential -Message "Prod" -UserName MySQLLogin); | |
$Test1 = Get-DbaSpConfigure -ServerInstance 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