From 856f24d99f6c9d6cd6c7d287b0565e450ed2f031 Mon Sep 17 00:00:00 2001 From: noahleigh Date: Sun, 19 Feb 2017 15:11:02 -0500 Subject: [PATCH 1/5] Changed broken link to a working blog post "run-ps" isn't a linkable document, so I changed the "Running PowerShell Scripts Is as Easy as 1-2-3" to link to an external article on Windows IT Pro with the same name. --- docs/learning-powershell/create-powershell-scripts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/learning-powershell/create-powershell-scripts.md b/docs/learning-powershell/create-powershell-scripts.md index a530eba7920..e24b16be698 100644 --- a/docs/learning-powershell/create-powershell-scripts.md +++ b/docs/learning-powershell/create-powershell-scripts.md @@ -29,7 +29,7 @@ Get-NetIPAddress | Where-Object {$_.AddressFamily -eq 'IPv4'} | ForEach-Object I ``` As before, save the file as .\NetIP.ps1 and execute within a PowerShell environment. Note: If you are using Windows, make sure you set the PowerShell's execution policy to "RemoteSigned" in this case. -See [Running PowerShell Scripts Is as Easy as 1-2-3](run-ps) for more details. +See [Running PowerShell Scripts Is as Easy as 1-2-3](http://windowsitpro.com/powershell/running-powershell-scripts-easy-1-2-3) for more details. ```PowerShell PS C:\> NetIP.ps1 @@ -58,4 +58,4 @@ else { # Remove loopback address from output regardless of platform $IP | Where-Object {$_ -ne '127.0.0.1'} ``` -[run-ps]:http://windowsitpro.com/powershell/running-powershell-scripts-easy-1-2-3 \ No newline at end of file +[run-ps]:http://windowsitpro.com/powershell/running-powershell-scripts-easy-1-2-3 From b783ae7ec56c8b34fcef41f807054aa07ece037c Mon Sep 17 00:00:00 2001 From: noahleigh Date: Sun, 19 Feb 2017 15:16:05 -0500 Subject: [PATCH 2/5] Switched to direct link --- docs/learning-powershell/create-powershell-scripts.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/learning-powershell/create-powershell-scripts.md b/docs/learning-powershell/create-powershell-scripts.md index e24b16be698..34625fa65c7 100644 --- a/docs/learning-powershell/create-powershell-scripts.md +++ b/docs/learning-powershell/create-powershell-scripts.md @@ -58,4 +58,3 @@ else { # Remove loopback address from output regardless of platform $IP | Where-Object {$_ -ne '127.0.0.1'} ``` -[run-ps]:http://windowsitpro.com/powershell/running-powershell-scripts-easy-1-2-3 From 113533313df74c1d40e9ce35a706055a0fa1c391 Mon Sep 17 00:00:00 2001 From: noahleigh Date: Sun, 19 Feb 2017 17:01:04 -0500 Subject: [PATCH 3/5] Revert "Switched to direct link" This reverts commit b783ae7ec56c8b34fcef41f807054aa07ece037c. --- docs/learning-powershell/create-powershell-scripts.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/learning-powershell/create-powershell-scripts.md b/docs/learning-powershell/create-powershell-scripts.md index 34625fa65c7..e24b16be698 100644 --- a/docs/learning-powershell/create-powershell-scripts.md +++ b/docs/learning-powershell/create-powershell-scripts.md @@ -58,3 +58,4 @@ else { # Remove loopback address from output regardless of platform $IP | Where-Object {$_ -ne '127.0.0.1'} ``` +[run-ps]:http://windowsitpro.com/powershell/running-powershell-scripts-easy-1-2-3 From 8685d3cec16705c5b24ea70b51e285ce951e0b48 Mon Sep 17 00:00:00 2001 From: noahleigh Date: Sun, 19 Feb 2017 17:01:14 -0500 Subject: [PATCH 4/5] Revert "Changed broken link to a working blog post" This reverts commit 856f24d99f6c9d6cd6c7d287b0565e450ed2f031. --- docs/learning-powershell/create-powershell-scripts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/learning-powershell/create-powershell-scripts.md b/docs/learning-powershell/create-powershell-scripts.md index e24b16be698..a530eba7920 100644 --- a/docs/learning-powershell/create-powershell-scripts.md +++ b/docs/learning-powershell/create-powershell-scripts.md @@ -29,7 +29,7 @@ Get-NetIPAddress | Where-Object {$_.AddressFamily -eq 'IPv4'} | ForEach-Object I ``` As before, save the file as .\NetIP.ps1 and execute within a PowerShell environment. Note: If you are using Windows, make sure you set the PowerShell's execution policy to "RemoteSigned" in this case. -See [Running PowerShell Scripts Is as Easy as 1-2-3](http://windowsitpro.com/powershell/running-powershell-scripts-easy-1-2-3) for more details. +See [Running PowerShell Scripts Is as Easy as 1-2-3](run-ps) for more details. ```PowerShell PS C:\> NetIP.ps1 @@ -58,4 +58,4 @@ else { # Remove loopback address from output regardless of platform $IP | Where-Object {$_ -ne '127.0.0.1'} ``` -[run-ps]:http://windowsitpro.com/powershell/running-powershell-scripts-easy-1-2-3 +[run-ps]:http://windowsitpro.com/powershell/running-powershell-scripts-easy-1-2-3 \ No newline at end of file From edd3e8a159eccf4c1eba9447e063e589a96f98f6 Mon Sep 17 00:00:00 2001 From: noahleigh Date: Sun, 19 Feb 2017 17:03:03 -0500 Subject: [PATCH 5/5] Fixed incorrect reference-style link --- docs/learning-powershell/create-powershell-scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/learning-powershell/create-powershell-scripts.md b/docs/learning-powershell/create-powershell-scripts.md index a530eba7920..f707d61125b 100644 --- a/docs/learning-powershell/create-powershell-scripts.md +++ b/docs/learning-powershell/create-powershell-scripts.md @@ -29,7 +29,7 @@ Get-NetIPAddress | Where-Object {$_.AddressFamily -eq 'IPv4'} | ForEach-Object I ``` As before, save the file as .\NetIP.ps1 and execute within a PowerShell environment. Note: If you are using Windows, make sure you set the PowerShell's execution policy to "RemoteSigned" in this case. -See [Running PowerShell Scripts Is as Easy as 1-2-3](run-ps) for more details. +See [Running PowerShell Scripts Is as Easy as 1-2-3][run-ps] for more details. ```PowerShell PS C:\> NetIP.ps1