Skip to content

Commit 83cce14

Browse files
authored
feat: update Get Password function to use Set-Clipboard rather than clip (#42)
Fixes #41
1 parent 20827e5 commit 83cce14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/Get-RandomPassword.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Function Get-RandomPassword {
7676

7777
# Randomise the characters in the Password array and join them as a single line. Output the line to screen and copy to clipboard.
7878
$Output = ($Password | Sort-Object { Get-Random }) -Join ''
79-
$Output | Clip
79+
$Output | Set-Clipboard
8080
Return $Output
8181
}
8282

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy