Files
Borealis-Github-Replica/Scripts/Examples/Write Canary to C Drive Root.ps1

6 lines
159 B
PowerShell

# Define the file path
$filePath = "C:\Canary.txt"
# Write some content into the file
"SYSTEM Canary is alive." | Out-File -FilePath $filePath -Encoding UTF8