diff --git a/book/A-git-in-other-environments/sections/powershell.asc b/book/A-git-in-other-environments/sections/powershell.asc index dd8fa5b80..bf8e102b3 100644 --- a/book/A-git-in-other-environments/sections/powershell.asc +++ b/book/A-git-in-other-environments/sections/powershell.asc @@ -16,8 +16,10 @@ image::images/posh-git.png[Powershell with Posh-git.] Before you're able to run PowerShell scripts on your machine, you need to set your local ExecutionPolicy to RemoteSigned (Basically anything except Undefined and Restricted). If you choose AllSigned instead of RemoteSigned, also local scripts (your own) need to be digitally signed in order to be executed. With RemoteSigned, only Scripts having the "ZoneIdentifier" set to Internet (were downloaded from the web) need to be signed, others not. If you're an administrator and want to set it for all Users on that machine, use "-Scope LocalMachine". If you're a normal user, without administrative rights, you can use "-Scope CurrentUser" to set it only for you. -More about PowerShell Scopes: (https://technet.microsoft.com/de-de/library/hh847849.aspx[]) -More about PowerShell ExecutionPolicy: (https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy[]) + +More about PowerShell Scopes: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scopes[] + +More about PowerShell ExecutionPolicy: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy[] [source,powershell] ----- @@ -26,7 +28,8 @@ More about PowerShell ExecutionPolicy: (https://docs.microsoft.com/en-us/powersh ===== PowerShell Gallery If you have at least PowerShell 5 or PowerShell 4 with PackageManagement installed, you can use the package manager to fetch Posh-Git for you. -More information about the requirements: (https://docs.microsoft.com/en-us/powershell/gallery/psget/get_psget_module[]) + +More information about PowerShell Gallery: https://docs.microsoft.com/en-us/powershell/gallery/overview[] [source,powershell] ----- > Set-PSRepository -Name PSGallery -InstallationPolicy Trusted