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
[Binding] | |
public class EnvironmentSettingsSupport | |
{ | |
private static IObjectContainer m_Container; | |
public EnvironmentSettingsSupport(IObjectContainer container) | |
{ | |
m_Container = container; | |
} |
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
setx PATH "%PATH%;C:\Program Files\IIS\Microsoft Web Deploy V3" /m |
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
Add-PSSnapin WDeploySnapin3.0 | |
New-WDPublishSettings ` | |
-ComputerName "virjole-wfe1" ` | |
-EncryptPassword:$true ` | |
-FileName "C:\temp\virjole-wfe1.publishsettings" ` | |
-UserId "hyper-v\wd_remote" ` | |
-Password "pass@word1" ` | |
-AgentType:WMSvc ` | |
-AllowUntrusted:$true |
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
msdeploy.exe | |
-verb:dump | |
-source:contentPath=prod.example.com, | |
computerName=https://virjole-wfe1:8172/msdeploy.axd, | |
getCredentials='VIRJOLE Remote Admin', | |
authType=Basic | |
-allowUntrusted |
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
msdeploy.exe | |
-verb:dump | |
-source:contentPath=prod.example.com |
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
msdeploy.exe | |
-verb:sync | |
-source:filePath="C:\web.deploy\input.xml" | |
-dest:filePath=\\VIRJOLE-WFE1\in\svc-input.xml |
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
# 1 | |
filePath="C:\inetpub\wwwroot\www.example.com\img\logo.png" | |
# 2 | |
filePath="\\server\www.example.com\upload\logo.png" |
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
# 1 | |
contentPath="C:\inetpub\wwwroot\www.example.com" | |
# 2 | |
contentPath="\\server\www.example.com\upload" | |
# 3 | |
contentPath="C:\inetpub\wwwroot\www.example.com\index.html" | |
# 4 |
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
msdeploy.exe | |
-verb:sync | |
-source:package="C:\web.deploy\backups\prod.example.com.upload.zip" | |
-dest:dirPath="\\VIRJOLE-WFE1\test.example.com\upload" |
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
msdeploy.exe | |
-verb:sync | |
-source:dirPath="C:\@Shares\prod.example.com\upload" | |
-dest:package="C:\web.deploy\backups\prod.example.com.upload.zip" |
NewerOlder