Continue with the on-screen directions (if applicable). After you complete the steps, no one will have access to PowerShell version 7 since it's no longer installed on the device. Of course, you can always download and install the app again. If you are trying to prevent users from making unwanted system changes, in addition to restricting access to PowerShell, you can also disable Command Prompt, Task Manager, and Registry. Furthermore, you can even try switching the account type to "Standard User" to prevent users from making system changes and make the account more secure. However, users will still have access to PowerShell, Command Prompt, and Task Manager to perform some common tasks.