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

Set-DbaSpConfigure "The property 'ConfigValue' cannot be found on this object" #5199

Closed
gephartr opened this issue Mar 13, 2019 · 2 comments
Closed
Labels
bugs life confirmed Label to be used by maintainers that confirm a bug does exist for the given issue
Projects

Comments

@gephartr
Copy link

gephartr commented Mar 13, 2019

<#
Get-DbaSpConfigure -SqlInstance "servername" -Name BackupChecksumDefault | Set-DbaSpConfigure -Value 1
#>

Expected Behavior

Should change "ConfiguredValue" to 1 (possible options 0/1)

Actual Behavior

WARNING: [11:44:08][Set-DbaSpConfigure] Unable to change config setting | The property 'ConfigValue' cannot be found on this object. Verify that the property exists and can be set.

Environmental data

 -- PowerShell: <!-- 
Name                           Value                                                                                                                                                                                       
----                           -----                                                                                                                                                                                       
PSVersion                      5.1.16299.936                                                                                                                                                                               
PSEdition                      Desktop                                                                                                                                                                                     
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                                                     
BuildVersion                   10.0.16299.936                                                                                                                                                                              
CLRVersion                     4.0.30319.42000                                                                                                                                                                             
WSManStackVersion              3.0                                                                                                                                                                                         
PSRemotingProtocolVersion      2.3                                                                                                                                                                                         
SerializationVersion           1.1.0.1   
-->
 - - SQL Server: <!-- 
Microsoft SQL Server 2016 (SP2-CU5) (KB4475776) - 13.0.5264.1 (X64)   Jan 10 2019 18:51:38
Copyright (c) Microsoft Corporation  Developer Edition (64-bit) on Windows Server 2016 Standard 10.0 X64 (Build 14393: ) (Hypervisor) 
 -->
@wsmelton
Copy link
Member

Initial check and this could be something with SMO...need to go back to older versions and see if this still worked to make sure (before we started updating SMO).

@wsmelton wsmelton added bugs life confirmed Label to be used by maintainers that confirm a bug does exist for the given issue labels Mar 17, 2019
@potatoqualitee
Copy link
Member

I may have done a mass replace! Let me take a look 👍

@potatoqualitee potatoqualitee added this to To do in 1.0 via automation Mar 21, 2019
@potatoqualitee potatoqualitee moved this from To do to In progress in 1.0 Mar 22, 2019
potatoqualitee added a commit that referenced this issue Mar 22, 2019
1.0 automation moved this from In progress to Done Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs life confirmed Label to be used by maintainers that confirm a bug does exist for the given issue
Projects
No open projects
1.0
  
Done
Development

No branches or pull requests

3 participants