Last active
February 17, 2019 04:50
-
-
Save kurone-kito/0e13ae6772d7be6822935556fc62b40a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment