0
votes
2answers
4k views

How to get all managed accounts and create a new one using PowerShell in SharePoint 2013

I need to get all Managed Accounts in SharePoint 2013. If there are nothing, I need to create a new one. How can I do this using PowerShell?