Answer the question
In order to leave comments, you need to log in
How to enable script execution support on all domain PCs?
Hello, are these commands enough to automatically execute scripts on the side of domain PCs and how to do it more efficiently: through logon script or through powershell (preferably the second option)
1.Enable-PSRemoting -Force
2Set-Item wsman:\localhost\client\ trustedhosts * -Force #PowerShell Remoting. Grant access to all remote PCs
Answer the question
In order to leave comments, you need to log in
PowerShell Remoting in the presence of a domain, in my opinion, is most conveniently configured through group policies.
Moreover, by driving into Google "enable psremoting group policy" you can immediately get a description of the configuration process.
To run scripts, it is very likely that you will also have to decide on the Execution Policy. This time, "powershell executionpolicy group policy" is driven into Google.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question