mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-09-11 03:08:42 -06:00
9 lines
307 B
PowerShell
9 lines
307 B
PowerShell
# Dynamically get the current user's Desktop path
|
|
$desktopPath = [Environment]::GetFolderPath('Desktop')
|
|
|
|
# Define the file path relative to the Desktop
|
|
$filePath = Join-Path $desktopPath "Canary.txt"
|
|
|
|
# Write some content into the file
|
|
"USER Canary is alive." | Out-File -FilePath $filePath -Encoding UTF8
|