Skip to content

Commit 5595072

Browse files
authored
Change docs.microsoft.com to learn.microsoft.com (PowerShell#19994)
1 parent 92833ae commit 5595072

File tree

32 files changed

+530
-532
lines changed

32 files changed

+530
-532
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# EditorConfig is awesome: https://EditorConfig.org
22
# .NET coding convention settings for EditorConfig
3-
# https://docs.microsoft.com/visualstudio/ide/editorconfig-code-style-settings-reference
3+
# https://learn.microsoft.com/visualstudio/ide/editorconfig-code-style-settings-reference
44
#
55
# This file comes from dotnet repositories:
66
# https://github.com/dotnet/runtime/blob/master/.editorconfig

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ Repeat offenses may result in a permanent ban from the PowerShell org.
402402
[up-for-grabs]: https://github.com/powershell/powershell/issues?q=is%3Aopen+is%3Aissue+label%3AUp-for-Grabs
403403
[semantic linefeeds]: https://rhodesmill.org/brandon/2012/one-sentence-per-line/
404404
[PowerShell-Docs]: https://github.com/powershell/powershell-docs/
405-
[use-vscode-editor]: https://docs.microsoft.com/dotnet/core/tutorials/with-visual-studio-code
405+
[use-vscode-editor]: https://learn.microsoft.com/dotnet/core/tutorials/with-visual-studio-code
406406
[repository-maintainer]: ../docs/community/governance.md#repository-maintainers
407407
[area-expert]: ../docs/community/governance.md#area-experts
408408
[first-time-issue]: https://github.com/powershell/powershell/issues?q=is%3Aopen+is%3Aissue+label%3AFirst-Time-Issue

.github/ISSUE_TEMPLATE/Bug_Report.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ body:
2121
required: true
2222
- label: Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).
2323
required: true
24-
- label: Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).
24+
- label: Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).
2525
required: true
2626
- type: textarea
2727
attributes:

.github/ISSUE_TEMPLATE/Microsoft_Update_Issue.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ body:
2323
required: true
2424
- label: Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).
2525
required: true
26-
- label: Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).
26+
- label: Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).
2727
required: true
2828
- type: textarea
2929
attributes:

.github/SUPPORT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ If you do not see your problem captured, please file a [new issue][] and follow
55
Also make sure to see the [Official Support Policy][].
66
If you know how to fix the issue, feel free to send a pull request our way. (The [Contribution Guides][] apply to that pull request, you may want to give it a read!)
77

8-
[Official Support Policy]: https://docs.microsoft.com/powershell/scripting/powershell-support-lifecycle
8+
[Official Support Policy]: https://learn.microsoft.com/powershell/scripting/powershell-support-lifecycle
99
[FAQ]: https://github.com/PowerShell/PowerShell/tree/master/docs/FAQ.md
1010
[Contribution Guides]: https://github.com/PowerShell/PowerShell/tree/master/.github/CONTRIBUTING.md
11-
[known issues]: https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell
11+
[known issues]: https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell
1212
[GitHub issues]: https://github.com/PowerShell/PowerShell/issues
1313
[new issue]: https://github.com/PowerShell/PowerShell/issues/new/choose

.globalconfig

+356-356
Large diffs are not rendered by default.

.spelling

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ dlwyatt
261261
dockerbasedbuild
262262
dockerfile
263263
dockerfiles
264-
docs.microsoft.com
264+
learn.microsoft.com
265265
doctordns
266266
don'ts
267267
dongbo

ADOPTERS.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ This is a list of adopters of using PowerShell in production or in their product
1414

1515
* [Azure Cloud Shell](https://shell.azure.com/) provides a batteries-included browser-based PowerShell environment used by Azure administrators to manage their environment.
1616
It includes up-to-date PowerShell modules for `Azure`, `AzureAD`, `Exchange`, `Teams`, and many more.
17-
More information about Azure Cloud Shell is available at [Azure Cloud Shell Overview.](https://docs.microsoft.com/azure/cloud-shell/overview)
17+
More information about Azure Cloud Shell is available at [Azure Cloud Shell Overview.](https://learn.microsoft.com/azure/cloud-shell/overview)
1818
* [Azure Functions - PowerShell](https://github.com/Azure/azure-functions-powershell-worker) is a serverless compute service to execute PowerShell scripts in the cloud without worrying about managing resources.
1919
In addition, Azure Functions provides client tools such as [`Az.Functions`](https://www.powershellgallery.com/packages/Az.Functions), a cross-platform PowerShell module to manage function apps and service plans in the cloud.
20-
For more information about Functions, please visit [functions overview](https://docs.microsoft.com/azure/azure-functions/functions-overview).
21-
* [PowerShell Universal](https://ironmansoftware.com/powershell-universal) is a cross-platform web framework for PowerShell.
22-
It provides the ability to create robust, interactive websites, REST APIs, and Electron-based desktop apps with PowerShell script.
20+
For more information about Functions, please visit [functions overview](https://learn.microsoft.com/azure/azure-functions/functions-overview).
21+
* [PowerShell Universal](https://ironmansoftware.com/powershell-universal) is a cross-platform web framework for PowerShell.
22+
It provides the ability to create robust, interactive websites, REST APIs, and Electron-based desktop apps with PowerShell script.
2323
More information about PowerShell Universal Dashboard is available at the [PowerShell Universal Dashboard Docs](https://docs.universaldashboard.io).
24-
* [System Frontier](https://systemfrontier.com/solutions/powershell/) provides dynamically generated web GUIs and REST APIs for PowerShell and other scripting languages.
25-
Enable non-admins like help desk and tier 1 support teams to execute secure web based tools on any platform `without admin rights`.
26-
Configure flexible RBAC permissions from an intuitive interface, without a complex learning curve.
24+
* [System Frontier](https://systemfrontier.com/solutions/powershell/) provides dynamically generated web GUIs and REST APIs for PowerShell and other scripting languages.
25+
Enable non-admins like help desk and tier 1 support teams to execute secure web based tools on any platform `without admin rights`.
26+
Configure flexible RBAC permissions from an intuitive interface, without a complex learning curve.
2727
Script output along with all actions are audited. Manage up to 5,000 nodes for free with the [Community Edition](https://systemfrontier.com/solutions/community-edition/).
2828
* [Amazon AWS](https://aws.com) supports PowerShell in a wide variety of its products including [AWS tools for PowerShell](https://github.com/aws/aws-tools-for-powershell),
2929
[AWS Lambda Support For PowerShell](https://github.com/aws/aws-lambda-dotnet/tree/master/PowerShell) and [AWS PowerShell Tools for `CodeBuild`](https://docs.aws.amazon.com/powershell/latest/reference/items/CodeBuild_cmdlets.html)
3030
as well as supporting PowerShell Core in both Windows and Linux EC2 Images.
31-
* [Azure Resource Manager Deployment Scripts](https://docs.microsoft.com/azure/azure-resource-manager/templates/deployment-script-template) Complete the "last mile" of your Azure Resource Manager (ARM) template deployments with a Deployment Script, which enables you to run an arbitrary PowerShell script in the context of a deployment.
32-
Designed to let you complete tasks that should be part of a deployment, but are not possible in an ARM template today — for example, creating a Key Vault certificate or querying an external API for a new CIDR block.
33-
* [Azure Pipelines Hosted Agents](https://docs.microsoft.com/azure/devops/pipelines/agents/hosted?view=azure-devops) Windows, Ubuntu, and MacOS Agents used by Azure Pipelines customers have PowerShell pre-installed so that customers can make use of it for all their CI/CD needs.
31+
* [Azure Resource Manager Deployment Scripts](https://learn.microsoft.com/azure/azure-resource-manager/templates/deployment-script-template) Complete the "last mile" of your Azure Resource Manager (ARM) template deployments with a Deployment Script, which enables you to run an arbitrary PowerShell script in the context of a deployment.
32+
Designed to let you complete tasks that should be part of a deployment, but are not possible in an ARM template today — for example, creating a Key Vault certificate or querying an external API for a new CIDR block.
33+
* [Azure Pipelines Hosted Agents](https://learn.microsoft.com/azure/devops/pipelines/agents/hosted?view=azure-devops) Windows, Ubuntu, and MacOS Agents used by Azure Pipelines customers have PowerShell pre-installed so that customers can make use of it for all their CI/CD needs.
3434
* [GitHub Actions Virtual Environments for Hosted Runners](https://help.github.com/actions/reference/virtual-environments-for-github-hosted-runners) Windows, Ubuntu, and macOS virtual environments used by customers of GitHub Actions include PowerShell out of the box.
3535
* [GitHub Actions Python builds](https://github.com/actions/python-versions) GitHub Actions uses PowerShell to automate building Python from source for its runners.
3636
* [Microsoft HoloLens](https://www.microsoft.com/hololens) makes extensive use of PowerShell 7+ throughout the development cycle to automate tasks such as firmware assembly and automated testing.
37-
* [Power BI](https://powerbi.microsoft.com/) provides PowerShell users a set of cmdlets in [MicrosoftPowerBIMgmt](https://docs.microsoft.com/powershell/power-bi) module to manage and automate the Power BI service.
37+
* [Power BI](https://powerbi.microsoft.com/) provides PowerShell users a set of cmdlets in [MicrosoftPowerBIMgmt](https://learn.microsoft.com/powershell/power-bi) module to manage and automate the Power BI service.
3838
This is in addition to Power BI leveraging PowerShell internally for various engineering systems and infrastructure for its service.
39-
* [Windows 10 IoT Core](https://docs.microsoft.com/windows/iot-core/windows-iot-core) is a small form factor Windows edition for IoT devices and now you can easily include the [PowerShell package](https://github.com/ms-iot/iot-adk-addonkit/blob/master/Tools/IoTCoreImaging/Docs/Import-PSCoreRelease.md#Import-PSCoreRelease) in your imaging process.
39+
* [Windows 10 IoT Core](https://learn.microsoft.com/windows/iot-core/windows-iot-core) is a small form factor Windows edition for IoT devices and now you can easily include the [PowerShell package](https://github.com/ms-iot/iot-adk-addonkit/blob/master/Tools/IoTCoreImaging/Docs/Import-PSCoreRelease.md#Import-PSCoreRelease) in your imaging process.

README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -109,25 +109,25 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu
109109
[pv-arm64]: https://github.com/PowerShell/PowerShell/releases/download/v7.4.0-preview.4/powershell-7.4.0-preview.4-linux-arm64.tar.gz
110110
[pv-snap]: https://snapcraft.io/powershell-preview
111111

112-
[in-windows]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-windows
113-
[in-ubuntu16]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#ubuntu-1604
114-
[in-ubuntu18]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#ubuntu-1804
115-
[in-ubuntu20]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#ubuntu-2004
112+
[in-windows]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-windows
113+
[in-ubuntu16]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#ubuntu-1604
114+
[in-ubuntu18]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#ubuntu-1804
115+
[in-ubuntu20]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#ubuntu-2004
116116
[in-ubuntu22]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.3#ubuntu
117-
[in-deb10]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#debian-10
118-
[in-centos]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#centos-7
119-
[in-rhel7]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#red-hat-enterprise-linux-rhel-7
120-
[in-opensuse]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#opensuse
121-
[in-fedora]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#fedora
122-
[in-archlinux]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#arch-linux
123-
[in-macos]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos
117+
[in-deb10]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#debian-10
118+
[in-centos]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#centos-7
119+
[in-rhel7]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#red-hat-enterprise-linux-rhel-7
120+
[in-opensuse]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#opensuse
121+
[in-fedora]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#fedora
122+
[in-archlinux]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#arch-linux
123+
[in-macos]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos
124124
[in-docker]: https://github.com/PowerShell/PowerShell-Docker
125-
[in-kali]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#kali
126-
[in-windows-zip]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-windows#zip
127-
[in-tar-linux]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#binary-archives
128-
[in-tar-macos]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos#binary-archives
129-
[in-raspbian]: https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#raspbian
130-
[in-arm]: https://docs.microsoft.com/powershell/scripting/install/powershell-core-on-arm
125+
[in-kali]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#kali
126+
[in-windows-zip]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-windows#zip
127+
[in-tar-linux]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#binary-archives
128+
[in-tar-macos]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos#binary-archives
129+
[in-raspbian]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#raspbian
130+
[in-arm]: https://learn.microsoft.com/powershell/scripting/install/powershell-core-on-arm
131131
[corefx-win]:https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md#windows
132132
[corefx-linux]:https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md#linux
133133
[corefx-macos]:https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md#macos
@@ -237,7 +237,7 @@ License: By requesting and using the Container OS Image for Windows containers,
237237

238238
### Telemetry
239239

240-
Please visit our [about_Telemetry](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_telemetry)
240+
Please visit our [about_Telemetry](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_telemetry)
241241
topic to read details about telemetry gathered by PowerShell.
242242

243243
## Governance

assets/MicrosoftUpdate/RegisterMicrosoftUpdate.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ switch ($TestHook) {
1818
default {
1919
$jobScript = {
2020
# This registers Microsoft Update via a predifened GUID with the Windows Update Agent.
21-
# https://docs.microsoft.com/en-us/windows/win32/wua_sdk/opt-in-to-microsoft-update
21+
# https://learn.microsoft.com/windows/win32/wua_sdk/opt-in-to-microsoft-update
2222

2323
$serviceManager = (New-Object -ComObject Microsoft.Update.ServiceManager)
2424
$isRegistered = $serviceManager.QueryServiceRegistration('7971f918-a847-4430-9279-4a52d1efe18d').Service.IsRegisteredWithAu

build.psm1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ function Publish-TestResults
16221622
# NUnit allowed values are: Passed, Failed, Inconclusive or Ignored (the spec says Skipped but it doesn' work with Azure DevOps)
16231623
# https://github.com/nunit/docs/wiki/Test-Result-XML-Format
16241624
# Azure DevOps Reporting is so messed up for NUnit V2 and doesn't follow their own spec
1625-
# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-test-results?view=azure-devops&tabs=yaml
1625+
# https://learn.microsoft.com/azure/devops/pipelines/tasks/test/publish-test-results?view=azure-devops&tabs=yaml
16261626
# So, we will map skipped to the actual value in the NUnit spec and they will ignore all results for tests which were not executed
16271627
Get-Content $Path | ForEach-Object {
16281628
$_ -replace 'result="Ignored"', 'result="Skipped"'

demos/DSC/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DSC MOF Compilation Demo
22

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

66
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 distribution and version-specific properties,

docs/building/linux.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ We use the [.NET Command-Line Interface][dotnet-cli] (`dotnet`) to build the man
2323
Installing the toolchain is as easy as running `Start-PSBootstrap` in PowerShell.
2424
Of course, this requires a self-hosted copy of PowerShell on Linux.
2525

26-
Fortunately, this is as easy as [downloading and installing the package](https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-linux#binary-archives).
26+
Fortunately, this is as easy as [downloading and installing the package](https://learn.microsoft.com/en-us/powershell/scripting/install/install-other-linux#binary-archives).
2727
The `./tools/install-powershell.sh` script will also install the PowerShell package.
2828

2929
In Bash:
@@ -53,7 +53,7 @@ The `Start-PSBootstrap` function does the following:
5353

5454
If you want to use `dotnet` outside of `Start-PSBuild`, add `~/.dotnet` to your `PATH` environment variable.
5555

56-
[dotnet-cli]: https://docs.microsoft.com/dotnet/core/tools/
56+
[dotnet-cli]: https://learn.microsoft.com/dotnet/core/tools/
5757

5858
## Build using our module
5959

docs/building/windows-core.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Install-Dotnet
4747
It removes the previously installed version of .NET CLI and installs the version that PowerShell Core depends on.
4848
If you have any problems installing `dotnet`, please see their [documentation][cli-docs].
4949

50-
[dotnet-cli]: https://docs.microsoft.com/dotnet/core/tools/
50+
[dotnet-cli]: https://learn.microsoft.com/dotnet/core/tools/
5151
[cli-docs]: https://www.microsoft.com/net/core#windowscmd
5252

5353
## Build using our module

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ and macOS as well as Windows using the .NET Core 2.x SDK command-line tools.
220220
For more information on .NET Standard, check out the [documentation][net-std-docs]
221221
and the [.NET Standard YouTube channel][net-std-chan].
222222

223-
[dotnet-cli]: https://docs.microsoft.com/dotnet/core/tools/
223+
[dotnet-cli]: https://learn.microsoft.com/dotnet/core/tools/
224224
[net-core-sdk]: https://www.microsoft.com/net/download/core
225-
[net-std-docs]: https://docs.microsoft.com/dotnet/standard/net-standard
225+
[net-std-docs]: https://learn.microsoft.com/dotnet/standard/net-standard
226226
[net-std-chan]: https://www.youtube.com/playlist?list=PLRAdsfhKI4OWx321A_pr-7HhRNk7wOLLY
227227
[pscore-os]: https://github.com/powershell/powershell#get-powershell
228228
[readme]: ../../README.md

0 commit comments

Comments
 (0)