question

emmaharlow avatar image
0 Votes"
emmaharlow asked tbgangav-MSFT answered

How to disable or change an existing deployment within Update Management using PowerShell

Hi,

I am looking for a way to amend an existing deployment within Azure Update Management using PowerShell. I need to be able to update the schedule and or update the configuration within the deployment.

I have looked at the "Set-AzAutomationSchedule" cmdlet but this can only be used if the schedule has a name. The name of the schedule seems to be removed when it's assigned to an Update Management deployment.

I have also checked the available cmdlets for the Software Update Configuration and there is only a New or Get cmdlet available.

Any help would be much appreciated.

Thank you!

azure-automation
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @emmaharlow,

Even I see only New, Get and Remove cmdlets currently available. If its feasible in your use case then workaround might be to use Remove and New cmdlets as we don't have Set or Disable cmdlet at this point.

I have reached out to our internal product team to get insights and/or ETA on this feature and also to see if we have any workaround for this. Will keep you updated as I hear more information.

0 Votes 0 ·

Hi @tbgangav-MSFT ,

Thank you for getting back to me and for looking into it for me.

Much appreciated!

0 Votes 0 ·

1 Answer

tbgangav-MSFT avatar image
0 Votes"
tbgangav-MSFT answered

Hi @emmaharlow

In the current Update Management functionality, the feature to have Set or Disable cmdlet is not being invested or prioritized because investment or prioritization is on v2 (version2) of Update Management i.e., we are going to have "Update Management Center" as a separate Azure service which currently is in Private Preview stage and would be moving to Public Preview stage very soon (i.e., before the end of Q2 CY22). So, product team would be adding the feature to have Set or Disable cmdlet in that newer version.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.