Skip to content

Commit fa544c3

Browse files
bergmeisteriSazonov
authored andcommitted
Update links that contain 'en-us' culture (PowerShell#7013)
Update links that contain 'en-us' culture to remove 'en-us' culture (if possible) and in some cases update to newer re-directed link to docs.microsoft.com
1 parent e9e8dc2 commit fa544c3

37 files changed

Lines changed: 66 additions & 66 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ For more information on this, we invite you to read [this blog post explaining P
10091009
- Once the pipeline is running as a job, all of the standard `*-Job` cmdlets can be used to manage the job.
10101010
- Variables (ignoring process-specific variables) used in the pipeline are automatically copied to the job so `Copy-Item $foo $bar &` just works.
10111011
- The job is also run in the current directory instead of the user's home directory.
1012-
- For more information about PowerShell jobs, see [about_Jobs](https://msdn.microsoft.com/en-us/powershell/reference/6/about/about_jobs).
1012+
- For more information about PowerShell jobs, see [about_Jobs](https://msdn.microsoft.com/powershell/reference/6/about/about_jobs).
10131013

10141014
### Engine updates and fixes
10151015

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ License: By requesting and using the Container OS Image for Windows containers,
232232

233233
### Telemetry
234234

235-
By default, PowerShell collects the OS description and the version of PowerShell (equivalent to `$PSVersionTable.OS` and `$PSVersionTable.GitCommitId`) using [Application Insights](https://azure.microsoft.com/en-us/services/application-insights/).
235+
By default, PowerShell collects the OS description and the version of PowerShell (equivalent to `$PSVersionTable.OS` and `$PSVersionTable.GitCommitId`) using [Application Insights](https://azure.microsoft.com/services/application-insights/).
236236
To opt-out of sending telemetry, create an environment variable called `POWERSHELL_TELEMETRY_OPTOUT` set to a value of `1` before starting PowerShell from the installed location.
237-
The telemetry we collect fall under the [Microsoft Privacy Statement](https://privacy.microsoft.com/en-us/privacystatement/).
237+
The telemetry we collect fall under the [Microsoft Privacy Statement](https://privacy.microsoft.com/privacystatement/).
238238

239239
## Governance
240240

demos/Azure/Azure-Demo.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Licensed under the MIT License.
33

44
### The techniques used in this demo are documented at
5-
### https://azure.microsoft.com/en-us/documentation/articles/powershell-azure-resource-manager/
5+
### https://azure.microsoft.com/documentation/articles/powershell-azure-resource-manager/
66

77
### Import AzureRM.Profile.NetCore.Preview and AzureRM.Resources.NetCore.Preview modules.
88
### AzureRM.NetCore.Preview is a wrapper module that pulls in these modules

demos/DSC/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## DSC MOF Compilation Demo
22

3-
[PowerShell Desired State Configuration](https://msdn.microsoft.com/en-us/PowerShell/dsc/overview) is a declarative configuration platform for Windows and Linux. DSC configurations can be authored in PowerShell and compiled into the resultant MOF document.
3+
[PowerShell Desired State Configuration](https://docs.microsoft.com/powershell/dsc/overview) is a declarative configuration platform for Windows and Linux. DSC configurations can be authored in PowerShell and compiled into the resultant MOF document.
44

55
This demo shows use of PowerShell to author a DSC configuration to set the configuration of an Apache web server. PowerShell scripting is used to assess distro and version-specific properties, such as the service controller and repo manager tools, for use in the configuration.
66

@@ -9,4 +9,4 @@ This demo shows use of PowerShell to author a DSC configuration to set the confi
99
- OMI: >= 1.1.0 [https://www.github.com/microsoft/omi/releases](https://www.github.com/microsoft/omi/releases)
1010
- Desired State Configuration for Linux >= 1.1.1-278 [https://github.com/Microsoft/PowerShell-DSC-for-Linux/releases](https://github.com/Microsoft/PowerShell-DSC-for-Linux/releases)
1111

12-
Note: applying the DSC configuration requires privileges. The user must have sudo authorization capabilities. You will be prompted for a sudo password when running the demo.
12+
> Note: applying the DSC configuration requires privileges. The user must have sudo authorization capabilities. You will be prompted for a sudo password when running the demo.

docker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ WSManStackVersion 3.0
126126
Please be sure to use a build from the Windows Insider program, either [Windows Server Insider](https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewserver) or the [Windows 10 Insider](https://insider.windows.com/GettingStarted),
127127
as your Container host before trying to pull this image. Otherwise, pulling this image will **fail**.
128128

129-
Read more about the changes coming to Nano Server in future releases of Windows Server Insider [here](https://docs.microsoft.com/en-us/windows-server/get-started/nano-in-semi-annual-channel).
129+
Read more about the changes coming to Nano Server in future releases of Windows Server Insider [here](https://docs.microsoft.com/windows-server/get-started/nano-in-semi-annual-channel).
130130

131131
### This is pre-release software
132132

docs/cmdlet-example/command-line-simple-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ and macOS as well as Windows using the .NET Core 2.0 SDK command-line tools.
216216
For more information on .NET Standard, check out the [documentation][net-std-docs]
217217
and the [.NET Standard YouTube channel][net-std-chan].
218218

219-
[dotnet-cli]: https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x
219+
[dotnet-cli]: https://docs.microsoft.com/dotnet/core/tools/?tabs=netcore2x
220220
[net-core-sdk]: https://www.microsoft.com/net/download/core
221-
[net-std-docs]: https://docs.microsoft.com/en-us/dotnet/standard/net-standard
221+
[net-std-docs]: https://docs.microsoft.com/dotnet/standard/net-standard
222222
[net-std-chan]: https://www.youtube.com/playlist?list=PLRAdsfhKI4OWx321A_pr-7HhRNk7wOLLY
223223
[pscore-os]: https://github.com/powershell/powershell#get-powershell
224224
[readme]: ../../README.md

docs/dev-process/breaking-change-contract.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Any change that is a clear violation of the public contract.
3131
+ Any existing behavior that results in an error message generally may be changed to provide new functionality.
3232
+ A new instance field is added to a type (this impacts .NET serialization but not PowerShell serialization and so is considered acceptable.)
3333
+ Adding new types, new type members and new cmdlets
34-
+ Making changes to the protocols with a protocol version increment. Older versions of the protocol would still need to be maintained to allow communication with earlier systems. This would require that protocol negotiation take place between the two systems. In addition to any protocol code changes, the Microsoft Open Specification program requires that the formal protocol specification for a protocol be updated in a timely manner. An example of a MS protocol specification document (MS-PSRP) can be found at: https://msdn.microsoft.com/en-us/library/dd357801.aspx
34+
+ Making changes to the protocols with a protocol version increment. Older versions of the protocol would still need to be maintained to allow communication with earlier systems. This would require that protocol negotiation take place between the two systems. In addition to any protocol code changes, the Microsoft Open Specification program requires that the formal protocol specification for a protocol be updated in a timely manner. An example of a MS protocol specification document (MS-PSRP) can be found at: https://msdn.microsoft.com/library/dd357801.aspx
3535

3636
## Bucket 2: Reasonable Grey Area
3737

docs/dev-process/coding-guidelines.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ We also run the [.NET code formatter tool](https://github.com/dotnet/codeformatt
8686

8787
* Make sure the added/updated comments are meaningful, accurate and easy to understand.
8888

89-
* Public members must use [doc comments](https://msdn.microsoft.com/en-us/library/b2s063f7.aspx).
89+
* Public members must use [doc comments](https://docs.microsoft.com/dotnet/csharp/programming-guide/xmldoc/xml-documentation-comments).
9090
Internal and private members may use doc comments but it is not required.
9191

9292
## Performance Considerations
@@ -183,16 +183,16 @@ See [CODEOWNERS](../../.github/CODEOWNERS) for more information about the area e
183183
* Consider using the `Interlocked` class instead of the `lock` statement to atomically change simple states. The `Interlocked` class provides better performance for updates that must be atomic.
184184

185185
* Here are some useful links for your reference:
186-
* [Framework Design Guidelines](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/index) - Naming, Design and Usage guidelines including:
187-
* [Arrays](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/arrays)
188-
* [Collections](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/guidelines-for-collections)
189-
* [Exceptions](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/exceptions)
190-
* [Best Practices for Developing World-Ready Applications](https://docs.microsoft.com/en-us/dotnet/standard/globalization-localization/best-practices-for-developing-world-ready-apps) - Unicode, Culture, Encoding and Localization.
191-
* [Best Practices for Exceptions](https://docs.microsoft.com/en-us/dotnet/standard/exceptions/best-practices-for-exceptions)
192-
* [Best Practices for Using Strings in .NET](https://docs.microsoft.com/en-us/dotnet/standard/base-types/best-practices-strings)
193-
* [Best Practices for Regular Expressions in .NET](https://docs.microsoft.com/en-us/dotnet/standard/base-types/best-practices)
194-
* [Serialization Guidelines](https://docs.microsoft.com/en-us/dotnet/standard/serialization/serialization-guidelines)
195-
* [Managed Threading Best Practices](https://docs.microsoft.com/en-us/dotnet/standard/threading/managed-threading-best-practices)
186+
* [Framework Design Guidelines](https://docs.microsoft.com/dotnet/standard/design-guidelines/index) - Naming, Design and Usage guidelines including:
187+
* [Arrays](https://docs.microsoft.com/dotnet/standard/design-guidelines/arrays)
188+
* [Collections](https://docs.microsoft.com/dotnet/standard/design-guidelines/guidelines-for-collections)
189+
* [Exceptions](https://docs.microsoft.com/dotnet/standard/design-guidelines/exceptions)
190+
* [Best Practices for Developing World-Ready Applications](https://docs.microsoft.com/dotnet/standard/globalization-localization/best-practices-for-developing-world-ready-apps) - Unicode, Culture, Encoding and Localization.
191+
* [Best Practices for Exceptions](https://docs.microsoft.com/dotnet/standard/exceptions/best-practices-for-exceptions)
192+
* [Best Practices for Using Strings in .NET](https://docs.microsoft.com/dotnet/standard/base-types/best-practices-strings)
193+
* [Best Practices for Regular Expressions in .NET](https://docs.microsoft.com/dotnet/standard/base-types/best-practices)
194+
* [Serialization Guidelines](https://docs.microsoft.com/dotnet/standard/serialization/serialization-guidelines)
195+
* [Managed Threading Best Practices](https://docs.microsoft.com/dotnet/standard/threading/managed-threading-best-practices)
196196

197197
## Portable Code
198198

docs/learning-powershell/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Recommended Training and Reading
112112
- [Learn PowerShell Video Library][powershell.com-learn-powershell] from PowerShell.com
113113
- [PowerShell Quick Reference Guides][quick-reference] by PowerShellMagazine.com
114114
- [PowerShell 5 How-To Videos][script-guy-how-to] by Ed Wilson
115-
- [PowerShell TechNet Resources](https://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx) from ScriptCenter
115+
- [PowerShell Documentation](https://docs.microsoft.com/powershell)
116116

117117

118118
Commercial Resources
@@ -128,7 +128,7 @@ Commercial Resources
128128

129129
[getstarted-with-powershell]: https://channel9.msdn.com/Series/GetStartedPowerShell3
130130
[why-learn-powershell]: https://blogs.technet.microsoft.com/heyscriptingguy/2014/10/18/weekend-scripter-why-learn-powershell/
131-
[basic-cookbooks]: https://msdn.microsoft.com/en-us/powershell/scripting/getting-started/basic-cookbooks
131+
[Using Windows PowerShell for Administration]: https://docs.microsoft.com/powershell/scripting/getting-started/fundamental/using-windows-powershell-for-administration?view=powershell-6
132132
[ebook-from-powershell.com]: http://powershell.com/cs/blogs/ebookv2/default.aspx
133133
[channel9-learn-powershell]: https://channel9.msdn.com/Search?term=powershell#ch9Search
134134
[powershell.com-learn-powershell]: http://powershell.com/cs/media/14/default.aspx

docs/learning-powershell/debugging-from-commandline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ Now you know the basics of the PowerShell debugging from PowerShell command-line
170170

171171
More Reading
172172
=====
173-
- [about_Debuggers](https://technet.microsoft.com/en-us/library/hh847790.aspx)
173+
- [about_Debuggers](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_debuggers?view=powershell-6)
174174
- [PowerShell Debugging](https://blogs.technet.microsoft.com/heyscriptingguy/tag/debugging/)

0 commit comments

Comments
 (0)