Ensure = ‘Absent’ – not working

Welcome Forums DSC (Desired State Configuration) Ensure = ‘Absent’ – not working

Viewing 1 reply thread
  • Author
    Posts
    • #221211
      Participant
      Topics: 33
      Replies: 13
      Points: 91
      Rank: Member

      Hello

      trying to remove an installed application, but ignore the absent and installs.

      thanks

      Ensure = ‘Absent’

      VERBOSE: [webserver1]: [[Package]SQL_ODBC_11] Parsed CB282CA5-CB3E-4D99-825D-23A2F44BF35434 as {CB282CA5-CB3E-4D99-825D-23A2F44BF35434}
      VERBOSE: [webserver1]: [[Package]SQL_ODBC_11] Ensure is Present
      VERBOSE: [webserver1]: [[Package]SQL_ODBC_11] product HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CB282CA5-CB3E-4D99-825D-23A2F44BF35434} found
      VERBOSE: [webserver1]: [[Package]SQL_ODBC_11] product as boolean is True
      VERBOSE: [webserver1]: [[Package]SQL_ODBC_11] The package Microsoft ODBC Driver 11 for SQL Server is installed
      VERBOSE: [webserver1]: LCM: [ End Test ] [[Package]SQL_ODBC_11] in 0.0150 seconds.

      • This topic was modified 3 months, 3 weeks ago by Efff dd.
    • #223137
      Senior Moderator
      Topics: 9
      Replies: 1265
      Points: 4,582
      Helping Hand
      Rank: Community Hero

      This normally doesn’t happen like this.
      Please make sure you are applying the right configuration to the server. Make sure you have compiled the MoF after with the new configuration.

Viewing 1 reply thread
  • The topic ‘Ensure = ‘Absent’ – not working’ is closed to new replies.