-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-managementArea - Microsoft.PowerShell.Management moduleArea - Microsoft.PowerShell.Management moduleissue-questionIssue - support questionIssue - support questionresolution-wont-fixStatus - closed as won't fixStatus - closed as won't fix
Description
In Windows PowerShell 5.x you can clear the clipboard by Set-Clipboard -Value $null. In PowerShell 7.1.0., I have tried
- Set-Clipboard -Value $null
- Set-Clipboard -Value ''
- Set-Clipboard -Value ""
None of the above cleared the contents of the clipboard. What is the proper way to clear the clipboard.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: c8fe754d-9c7c-007f-db41-f387df478be5
- Version Independent ID: 0efcc112-2660-68d4-30ea-b6c633baa2a2
- Content: Set-Clipboard (Microsoft.PowerShell.Management) - PowerShell
- Content Source: reference/7.0/Microsoft.PowerShell.Management/Set-Clipboard.md
- Product: powershell
- Technology: powershell-cmdlets
- GitHub Login: @daxian-dbw
- Microsoft Alias: dongbow
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-managementArea - Microsoft.PowerShell.Management moduleArea - Microsoft.PowerShell.Management moduleissue-questionIssue - support questionIssue - support questionresolution-wont-fixStatus - closed as won't fixStatus - closed as won't fix