Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $now = Get-Date -Format "yyyyMMdd_HHmmss"
- $target = "C:\Program Files\Docker\Docker\resources\MobyLinux.ps1"
- Copy-Item $target ("{0}.{1}" -f $target, $now)
- $data = Get-Content $target | ForEach-Object { $_ -replace "-ComputerName localhost", "" }
- $data | Out-File $target
Add Comment
Please, Sign In to add comment