Revert "Added PowerShell local admin function"

This reverts commit 7f1abd91e8091287d6b25fa7cd8aba5d87f9ad85.