how to block GET-ADUSER command on Powershell

Vignesh Vijayakumar 1 Reputation point
2022-03-09T18:28:27.407+00:00

Hello all,

I want to block GET-ADUSER command execution on PowerShell to all AD users.

And I would like to block users from opening AD users and computers application.

How do I block the above two features?

Windows for business Windows Client for IT Pros Directory services Active Directory
Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other
Windows for business Windows Server Devices and deployment Configure application groups
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Gary Reynolds 9,621 Reputation points
    2022-03-09T19:28:16.473+00:00

  2. Rich Matheisen 47,901 Reputation points
    2022-03-09T19:51:07.377+00:00

    You can use "Just Enough Administration" (JEA) to do that. Here's a link: overview

    0 comments No comments

  3. SChalakov 10,576 Reputation points MVP Volunteer Moderator
    2022-03-10T12:07:41.637+00:00

    Hi,

    what about uninstalling the Active directory PowerShell module?

    Regards,
    Stoyan


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.