Testing more script stuff
This commit is contained in:
parent
7d73b5c045
commit
cb73facc18
10
deploy.ps1
10
deploy.ps1
@ -1,5 +1,7 @@
|
|||||||
New-Item -Path "C:\inetpub\wwwroot\" -Name enpaul.net.new -ItemType Directory -Force
|
New-Item -Path "C:\inetpub\wwwroot\" -Name enpaul.net.new -ItemType Directory -Force
|
||||||
Copy-Item -Path .\* -Destination "C:\inetpub\wwwroot\enpaul.net.new\" -Force -Recurse
|
#Copy-Item -Path .\* -Destination "C:\inetpub\wwwroot\enpaul.net.new\" -Force -Recurse
|
||||||
Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net" -NewName "enpaul.net.old" -Force
|
Copy-Item -Path .\deploy.ps1 -Destination "C:\inetpub\wwwroot\enpaul.net.new\" -Force -Recurse
|
||||||
Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net.new" -NewName "enpaul.net" -Force
|
#Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net" -NewName "enpaul.net.old" -Force
|
||||||
Remove-Item -path "C:\inetpub\wwwroot\enpaul.net.old" -Recurse -Force
|
#Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net.new" -NewName "enpaul.net" -Force
|
||||||
|
#Remove-Item -path "C:\inetpub\wwwroot\enpaul.net.old" -Recurse -Force
|
||||||
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user