The Daily learning's!
Friday, March 27, 2020
powershell cmdlet Copy-Item overwrites the existing files
Tested successfully
In Powershell, the cmdlet
Copy-Item overwrites the existing files
Copy-Item "C:\test\test.conf" -Destination "C:\conf\test.conf"
The above command will overwrite C:\conf\test.conf file with C:\test\test.conf
Monday, March 9, 2020
AWS Windows Image - Automating the install of Corretto
C:\installer\corretto.msi - Location of the MSI file
C:\corretto - Installation Directory
Start-Process "msiexec.exe" -ArgumentList "/i C:\installer\corretto.msi INSTALLDIR=""C:\corretto"" /qb!" -NoNewWindow -Wait
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)