Robocopy


robocopy [[ ...]] []

Klasör altındaki dosyaları Silme: 
del D:\Artifacts\*.* /s /f /q
Get-ChildItem 'D:\Artifacts' -include *.* -Recurse |Remove-Item -Force

Remove-Item –path D:\Artifacts -include *.* –recurse

IIS RESET
invoke-command -computername $[ServerName] -scriptblock {iisreset /RESTART}

Release Deployment

robocopy \\pcname\bin3 \\000.00.0.00\E$\Webservices\Integration.EDistraint\bin\ /S /E /COPY:DAT /MT:10 /R:0 /W:3 /XF
robocopy \\pcname2\bin3 \\000.00.0.00\E$\Webservices\ervice.EDistraint\bin\ /S /E /COPY:DAT /MT:10 /R:0 /W:3 /XF

\\000.00.0.00\E$\Webservices\Integration.Mobile\ /S /E /COPY:DAT /MT:10 /R:0 /W:3 /XF




robocopy H:\Users\xxxxxx\folder\folder C:\Users\xxxxx\folder\Target /E /w:5 /XF *.config *.pdf CefSharp*.dll /XD 

Yorumlar

Bu blogdaki popüler yayınlar

HOŞ GELDİNİZ

List String Equals