Powershell

De NoocNooNet
Sauter à la navigation Sauter à la recherche


Learning PowerShell command names https://docs.microsoft.com/en-us/powershell/scripting/learn/learning-powershell-names Windows PowerShell Programmer's Guide https://docs.microsoft.com/en-us/powershell/scripting/developer/prog-guide/windows-powershell-programmer-s-guide?view=powershell-7 PowerShell Documentation https://docs.microsoft.com/en-us/powershell/ PowerShell Scripting https://docs.microsoft.com/en-us/powershell/scripting/overview


Exécution d'un script powershell .ps[modifier]

https://adamtheautomator.com/run-powershell-script/

PowerShell returns the error message above when you try to run a PowerShell with an execution policy set to :

  • Restricted
  • Unrestricted
  • Remote Signed
  • All Signed

Avant d'exécuter le script : PS> Set-ExecutionPolicy Unrestricted

lancer le script script.ps: .\script.ps