Pankaj_Messaging_Specialist I don't understand: are you saying this error happened after Nov update was installed?
There CAN be issues with scripts (or piped cmdlets) that are ran on management only machines AFTER the Nov 2023 SU is installed, as per the Known Issues section in this blog post. I would not expect an issue to have the symptom that you have pasted, though: instead, what could happen is if a piped cmdlet is used (either interactively or inside of the script) - you could get a deserialization error.
The workaround for that, if you run into it, is to run the script on the mailbox server. We will release an update for this in coming months so scripts will again work from management tools only machines / workstations.