Set-TextInClipboard
SYNOPSIS
Copy a string to the clipboard and provide options for further actions.
SYNTAX
DESCRIPTION
This function copies the provided string to the clipboard and displays a prompt with options to either copy the string again, open it in an editor, or exit. It uses Windows Forms to handle clipboard operations and display the editor.
EXAMPLES
EXAMPLE 1
Copies the string "This is a test string" to the clipboard and provides options for further actions.
EXAMPLE 2
Uses the alias `Put-TextInClipboard` to copy "Another example string" to the clipboard and display the prompt.
PARAMETERS
-MailNaarGO
The string to be copied to the clipboard.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.