From 3ddc7ba074646d320bfc429850868d090c6c8034 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Fri, 30 Aug 2024 09:37:20 -0500 Subject: [PATCH] Add macOS dependencies --- .../7.2/Microsoft.PowerShell.Management/Get-Clipboard.md | 5 +++-- .../7.2/Microsoft.PowerShell.Management/Set-Clipboard.md | 5 +++-- .../7.4/Microsoft.PowerShell.Management/Get-Clipboard.md | 5 +++-- .../7.4/Microsoft.PowerShell.Management/Set-Clipboard.md | 5 +++-- .../7.5/Microsoft.PowerShell.Management/Get-Clipboard.md | 5 +++-- .../7.5/Microsoft.PowerShell.Management/Set-Clipboard.md | 5 +++-- 6 files changed, 18 insertions(+), 12 deletions(-) diff --git a/reference/7.2/Microsoft.PowerShell.Management/Get-Clipboard.md b/reference/7.2/Microsoft.PowerShell.Management/Get-Clipboard.md index 8214888c750b..a6d8c5cae57e 100644 --- a/reference/7.2/Microsoft.PowerShell.Management/Get-Clipboard.md +++ b/reference/7.2/Microsoft.PowerShell.Management/Get-Clipboard.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 07/09/2024 +ms.date: 08/30/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-clipboard?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: Get-Clipboard @@ -25,7 +25,8 @@ The `Get-Clipboard` cmdlet gets the contents of the clipboard as text. Multiple returned as an array of strings similar to `Get-Content`. > [!NOTE] -> On Linux, this cmdlet requires the `xclip` utility to be in the path. +> On Linux, this cmdlet requires the `xclip` utility to be in the path. On macOS, this cmdlet uses +> the `pbpaste` utility. ## EXAMPLES diff --git a/reference/7.2/Microsoft.PowerShell.Management/Set-Clipboard.md b/reference/7.2/Microsoft.PowerShell.Management/Set-Clipboard.md index 42e19666859c..045ce794c781 100644 --- a/reference/7.2/Microsoft.PowerShell.Management/Set-Clipboard.md +++ b/reference/7.2/Microsoft.PowerShell.Management/Set-Clipboard.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 07/09/2024 +ms.date: 08/30/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-clipboard?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-Clipboard @@ -24,7 +24,8 @@ Set-Clipboard -Value [-Append] [-WhatIf] [-Confirm] [-PassThru] [ [!NOTE] -> On Linux, this cmdlet requires the `xclip` utility to be in the path. +> On Linux, this cmdlet requires the `xclip` utility to be in the path. On macOS, this cmdlet uses +> the `pbcopy` utility. ## EXAMPLES diff --git a/reference/7.4/Microsoft.PowerShell.Management/Get-Clipboard.md b/reference/7.4/Microsoft.PowerShell.Management/Get-Clipboard.md index 46ee46aaa38b..122a4c474307 100644 --- a/reference/7.4/Microsoft.PowerShell.Management/Get-Clipboard.md +++ b/reference/7.4/Microsoft.PowerShell.Management/Get-Clipboard.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 07/09/2024 +ms.date: 08/30/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-clipboard?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: Get-Clipboard @@ -25,7 +25,8 @@ The `Get-Clipboard` cmdlet gets the contents of the clipboard as text. Multiple returned as an array of strings similar to `Get-Content`. > [!NOTE] -> On Linux, this cmdlet requires the `xclip` utility to be in the path. +> On Linux, this cmdlet requires the `xclip` utility to be in the path. On macOS, this cmdlet uses +> the `pbpaste` utility. ## EXAMPLES diff --git a/reference/7.4/Microsoft.PowerShell.Management/Set-Clipboard.md b/reference/7.4/Microsoft.PowerShell.Management/Set-Clipboard.md index b9d1779d7b63..d5a117897bea 100644 --- a/reference/7.4/Microsoft.PowerShell.Management/Set-Clipboard.md +++ b/reference/7.4/Microsoft.PowerShell.Management/Set-Clipboard.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 07/09/2024 +ms.date: 08/30/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-clipboard?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-Clipboard @@ -25,7 +25,8 @@ Set-Clipboard [-Value] [-Append] [-PassThru] [-AsOSC52] [-WhatIf] [-C The `Set-Clipboard` cmdlet sets the contents of the clipboard. > [!NOTE] -> On Linux, this cmdlet requires the `xclip` utility to be in the path. +> On Linux, this cmdlet requires the `xclip` utility to be in the path. On macOS, this cmdlet uses +> the `pbcopy` utility. ## EXAMPLES diff --git a/reference/7.5/Microsoft.PowerShell.Management/Get-Clipboard.md b/reference/7.5/Microsoft.PowerShell.Management/Get-Clipboard.md index 6eb29e2f9a92..6e4ad4479309 100644 --- a/reference/7.5/Microsoft.PowerShell.Management/Get-Clipboard.md +++ b/reference/7.5/Microsoft.PowerShell.Management/Get-Clipboard.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 07/09/2024 +ms.date: 08/30/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-clipboard?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: Get-Clipboard @@ -25,7 +25,8 @@ The `Get-Clipboard` cmdlet gets the contents of the clipboard as text. Multiple returned as an array of strings similar to `Get-Content`. > [!NOTE] -> On Linux, this cmdlet requires the `xclip` utility to be in the path. +> On Linux, this cmdlet requires the `xclip` utility to be in the path. On macOS, this cmdlet uses +> the `pbpaste` utility. ## EXAMPLES diff --git a/reference/7.5/Microsoft.PowerShell.Management/Set-Clipboard.md b/reference/7.5/Microsoft.PowerShell.Management/Set-Clipboard.md index eb1514ecfd49..c63ef2653d79 100644 --- a/reference/7.5/Microsoft.PowerShell.Management/Set-Clipboard.md +++ b/reference/7.5/Microsoft.PowerShell.Management/Set-Clipboard.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 07/09/2024 +ms.date: 08/30/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-clipboard?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: Set-Clipboard @@ -25,7 +25,8 @@ Set-Clipboard [-Value] [-Append] [-PassThru] [-AsOSC52] [-WhatIf] [-C The `Set-Clipboard` cmdlet sets the contents of the clipboard. > [!NOTE] -> On Linux, this cmdlet requires the `xclip` utility to be in the path. +> On Linux, this cmdlet requires the `xclip` utility to be in the path. On macOS, this cmdlet uses +> the `pbcopy` utility. ## EXAMPLES