Skip to content

Commit 5632db0

Browse files
authored
Merge pull request #1118 from aollier/powershell
PowerShell links update
2 parents 4c47204 + d98c488 commit 5632db0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

book/A-git-in-other-environments/sections/powershell.asc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ image::images/posh-git.png[Powershell with Posh-git.]
1616
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.
1717
If you're an administrator and want to set it for all Users on that machine, use "-Scope LocalMachine".
1818
If you're a normal user, without administrative rights, you can use "-Scope CurrentUser" to set it only for you.
19-
More about PowerShell Scopes: (https://technet.microsoft.com/de-de/library/hh847849.aspx[])
20-
More about PowerShell ExecutionPolicy: (https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy[])
19+
20+
More about PowerShell Scopes: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scopes[]
21+
22+
More about PowerShell ExecutionPolicy: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy[]
2123

2224
[source,powershell]
2325
-----
@@ -26,7 +28,8 @@ More about PowerShell ExecutionPolicy: (https://docs.microsoft.com/en-us/powersh
2628

2729
===== PowerShell Gallery
2830
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.
29-
More information about the requirements: (https://docs.microsoft.com/en-us/powershell/gallery/psget/get_psget_module[])
31+
32+
More information about PowerShell Gallery: https://docs.microsoft.com/en-us/powershell/gallery/overview[]
3033
[source,powershell]
3134
-----
3235
> Set-PSRepository -Name PSGallery -InstallationPolicy Trusted

0 commit comments

Comments
 (0)