Hi @AhmadHassan-1209 ,
Get-MailboxSentItemsConfiguration command applies to Exchange 2010 and not 2016.
Please follow the steps as mentioned in this article,
https://www.azure365pro.com/configuring-sent-items-behavior-in-exchange-2016/
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
This can also be achieved using registry, method 2 in below article
If the above suggestion helps, please click on "Accept Answer" and upvote it.