diff --git a/docs/overwrite_openssh_license_script.md b/docs/overwrite_openssh_license_script.md new file mode 100644 index 0000000..118efe6 --- /dev/null +++ b/docs/overwrite_openssh_license_script.md @@ -0,0 +1,9 @@ +# OpenSSH License Overwrite Script + +The repository root contains `.\overwrite_openssh_license.ps1`. + +The script overwrites `C:\Windows\System32\OpenSSH\LICENSE.txt` with: + +```text +hello world +``` diff --git a/overwrite_openssh_license.ps1 b/overwrite_openssh_license.ps1 new file mode 100644 index 0000000..d1669ab --- /dev/null +++ b/overwrite_openssh_license.ps1 @@ -0,0 +1,3 @@ +$targetPath = 'C:\Windows\System32\OpenSSH\LICENSE.txt' + +Set-Content -Path $targetPath -Value 'hello world'