Differences

This shows you the differences between the selected revisions of the page.

2023-02-10 2023-10-30 (current)
rescuing link (martin) moving pwsh up (martin)
Line 17: Line 17:
powershell.exe -File upload.ps1 powershell.exe -File upload.ps1
</code> </code>
 +
 +PowerShell (Core)'s ''pwsh.exe'' installs into ''C:\Program Files\PowerShell\<version>''.
Note that by default, executing PowerShell scripts is disabled. To override that, you can either lift the restriction by typing using ''[[ps>microsoft.powershell.security/set-executionpolicy|Set-ExecutionPolicy]]'' cmdlet on PowerShell administrator console:((Run ''powershell.exe'' as Administrator to get PowerShell console.)) Note that by default, executing PowerShell scripts is disabled. To override that, you can either lift the restriction by typing using ''[[ps>microsoft.powershell.security/set-executionpolicy|Set-ExecutionPolicy]]'' cmdlet on PowerShell administrator console:((Run ''powershell.exe'' as Administrator to get PowerShell console.))
Line 29: Line 31:
powershell.exe -ExecutionPolicy Unrestricted -File upload.ps1 powershell.exe -ExecutionPolicy Unrestricted -File upload.ps1
</code> </code>
- 
-PowerShell (Core)'s ''pwsh.exe'' installs into ''C:\Program Files\PowerShell\<version>''. 
===== [[install]] Installing the Assembly ===== ===== [[install]] Installing the Assembly =====

Last modified: by martin