File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5757 $opts = New-PSSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck
5858 $session = New-PSSession -ComputerName $env:VM_HOST -UseSSL -SessionOption $opts -Credential $creds
5959 Invoke-Command -Session $session -ScriptBlock {
60- Remove-Item "C:\inetpub\wwwroot\MigrationToolV1.0 " -Recurse -Force -ErrorAction SilentlyContinue
61- New-Item -ItemType Directory -Path "C:\inetpub\wwwroot\MigrationToolV1.0 " -Force
60+ Remove-Item "C:\inetpub\wwwroot\MigrationTool " -Recurse -Force -ErrorAction SilentlyContinue
61+ New-Item -ItemType Directory -Path "C:\inetpub\wwwroot\MigrationTool " -Force
6262 }
6363 Copy-Item -Path "./publish/*" -Destination "C:\inetpub\wwwroot\MigrationTool" -Recurse -ToSession $session
6464
You can’t perform that action at this time.
0 commit comments