Les 2 commandes ci-dessous éditent la base de registre pour autoriser powershell
Reg add "HKLM\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" /v ExecutionPolicy /t REG_SZ /d RemoteSigned /f
Reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" /v ExecutionPolicy /t REG_SZ /d RemoteSigned /f
Lien vers le fichier : cliquez ici
Via une GPO cela donne
Article(s) suivant(s)
Article(s) précédent(s)
Article(s) en relation(s)