Skip to content

Commit 8f18f38

Browse files
authored
Fixes #10883 - Add link to OneDrive documentation (#10903)
* Add link to OneDrive documentation * fix link * fix formatting
1 parent a9a3adc commit 8f18f38

File tree

5 files changed

+35
-25
lines changed

5 files changed

+35
-25
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_Profiles.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes how to create and use a PowerShell profile.
33
Locale: en-US
4-
ms.date: 07/17/2023
4+
ms.date: 02/26/2024
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-5.1&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about Profiles
@@ -59,10 +59,12 @@ The profile paths include the following variables:
5959
- The `$HOME` variable stores the current user's home directory
6060

6161
> [!NOTE]
62-
> In Windows, the location of the Documents folder can be changed by folder
63-
> redirection or OneDrive. We don't recommend redirecting the Documents folder
64-
> to a network share or including it in OneDrive. Redirecting the folder can
65-
> cause modules to fail to load and create errors in your profile scripts.
62+
> In Windows, the location of the `Documents` folder can be changed by folder
63+
> redirection or OneDrive. We don't recommend redirecting the `Documents`
64+
> folder to a network share or including it in OneDrive. Redirecting the folder
65+
> can cause modules to fail to load and create errors in your profile scripts.
66+
> For information about removing the `Documents` folder from OneDrive
67+
> management, consult the [OneDrive documentation](/onedrive/).
6668
6769
## The $PROFILE variable
6870

reference/7.2/Microsoft.PowerShell.Core/About/about_Profiles.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes how to create and use a PowerShell profile.
33
Locale: en-US
4-
ms.date: 07/17/2023
4+
ms.date: 02/26/2024
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.2&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about Profiles
@@ -70,10 +70,12 @@ The profile paths include the following variables:
7070
- The `$HOME` variable stores the current user's home directory
7171

7272
> [!NOTE]
73-
> In Windows, the location of the Documents folder can be changed by folder
74-
> redirection or OneDrive. We don't recommend redirecting the Documents folder
75-
> to a network share or including it in OneDrive. Redirecting the folder can
76-
> cause modules to fail to load and create errors in your profile scripts.
73+
> In Windows, the location of the `Documents` folder can be changed by folder
74+
> redirection or OneDrive. We don't recommend redirecting the `Documents`
75+
> folder to a network share or including it in OneDrive. Redirecting the folder
76+
> can cause modules to fail to load and create errors in your profile scripts.
77+
> For information about removing the `Documents` folder from OneDrive
78+
> management, consult the [OneDrive documentation](/onedrive/).
7779
7880
## The $PROFILE variable
7981

reference/7.3/Microsoft.PowerShell.Core/About/about_Profiles.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes how to create and use a PowerShell profile.
33
Locale: en-US
4-
ms.date: 07/17/2023
4+
ms.date: 02/26/2024
55
online version: https://learn.microsoft.com/powershell/module/Microsoft.PowerShell.core/about/about_profiles?view=powershell-7.3&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about Profiles
@@ -70,10 +70,12 @@ The profile paths include the following variables:
7070
- The `$HOME` variable stores the current user's home directory
7171

7272
> [!NOTE]
73-
> In Windows, the location of the Documents folder can be changed by folder
74-
> redirection or OneDrive. We don't recommend redirecting the Documents folder
75-
> to a network share or including it in OneDrive. Redirecting the folder can
76-
> cause modules to fail to load and create errors in your profile scripts.
73+
> In Windows, the location of the `Documents` folder can be changed by folder
74+
> redirection or OneDrive. We don't recommend redirecting the `Documents`
75+
> folder to a network share or including it in OneDrive. Redirecting the folder
76+
> can cause modules to fail to load and create errors in your profile scripts.
77+
> For information about removing the `Documents` folder from OneDrive
78+
> management, consult the [OneDrive documentation](/onedrive/).
7779
7880
## The $PROFILE variable
7981

reference/7.4/Microsoft.PowerShell.Core/About/about_Profiles.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes how to create and use a PowerShell profile.
33
Locale: en-US
4-
ms.date: 07/17/2023
4+
ms.date: 02/26/2024
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.4&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about Profiles
@@ -70,10 +70,12 @@ The profile paths include the following variables:
7070
- The `$HOME` variable stores the current user's home directory
7171

7272
> [!NOTE]
73-
> In Windows, the location of the Documents folder can be changed by folder
74-
> redirection or OneDrive. We don't recommend redirecting the Documents folder
75-
> to a network share or including it in OneDrive. Redirecting the folder can
76-
> cause modules to fail to load and create errors in your profile scripts.
73+
> In Windows, the location of the `Documents` folder can be changed by folder
74+
> redirection or OneDrive. We don't recommend redirecting the `Documents`
75+
> folder to a network share or including it in OneDrive. Redirecting the folder
76+
> can cause modules to fail to load and create errors in your profile scripts.
77+
> For information about removing the `Documents` folder from OneDrive
78+
> management, consult the [OneDrive documentation](/onedrive/).
7779
7880
## The $PROFILE variable
7981

reference/7.5/Microsoft.PowerShell.Core/About/about_Profiles.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes how to create and use a PowerShell profile.
33
Locale: en-US
4-
ms.date: 07/17/2023
4+
ms.date: 02/26/2024
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.5&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about Profiles
@@ -70,10 +70,12 @@ The profile paths include the following variables:
7070
- The `$HOME` variable stores the current user's home directory
7171

7272
> [!NOTE]
73-
> In Windows, the location of the Documents folder can be changed by folder
74-
> redirection or OneDrive. We don't recommend redirecting the Documents folder
75-
> to a network share or including it in OneDrive. Redirecting the folder can
76-
> cause modules to fail to load and create errors in your profile scripts.
73+
> In Windows, the location of the `Documents` folder can be changed by folder
74+
> redirection or OneDrive. We don't recommend redirecting the `Documents`
75+
> folder to a network share or including it in OneDrive. Redirecting the folder
76+
> can cause modules to fail to load and create errors in your profile scripts.
77+
> For information about removing the `Documents` folder from OneDrive
78+
> management, consult the [OneDrive documentation](/onedrive/).
7779
7880
## The $PROFILE variable
7981

0 commit comments

Comments
 (0)