Hello,
Thank you for your question and reaching out. I can understand you are having query\issues related to Powershell for AD account.
Please elaborate more about the issue and share some more information.
What you want to modify from AD and which Powershell you have used ?
--If the reply is helpful, please Upvote and Accept as answer--