mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-13 06:27:16 +02:00
Add unicode character
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/pwsh
|
||||
#!/usr/bin/pwsh
|
||||
<#
|
||||
.SYNTAX upload-file.ps1 [<file>] [<URL>] [<username>] [<password>]
|
||||
.DESCRIPTION uploads the local file to the given FTP server
|
||||
@ -46,7 +46,7 @@ try {
|
||||
$ftpStream.Dispose()
|
||||
$fileStream.Dispose()
|
||||
|
||||
write-host -foregroundColor green "OK - uploaded $File to $URL in $($StopWatch.Elapsed.Seconds) second(s)"
|
||||
write-host -foregroundColor green "✔️ uploaded $File to $URL in $($StopWatch.Elapsed.Seconds) second(s)"
|
||||
exit 0
|
||||
} catch {
|
||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user