SyntaxFix
Write A Post
Hire A Developer
Questions
You will have to pass one of the valid Identity values like DN, domain\user etc to the Set-Mailbox cmdlet. Currently you are not passing anything.
Identity
DN
domain\user
Set-Mailbox