It is necessary to enable inheritance for all domain (ActiveDirectory) users, but the problem is that there are many users.
If you use the “Active Directory Users and Computers” and click the button (like on a screenshot) in each user’s settings, it will take a very long time
Whether it is possible to include inheritance at all users of the domain using powershell?
This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.
We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.
Depending where you want to manipulate access rights you should work with groups instead of individual users. This way you have to change the permissions only once and later on you only add or remove users from groups.