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
param( | |
[string]$PATH_TO_BUILD_FOLDER = "", | |
[string]$BUILD_NUMBER = "") | |
try { | |
$doc = New-Object System.Xml.XmlDocument | |
$doc.Load("$PATH_TO_BUILD_FOLDER\AppSettings.config") | |
$BUILD = $doc.get_DocumentElement().SelectSingleNode("//add[@key='BuildNumber']") | |
$BUILD.value = $BUILD_NUMBER |
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
.\import-certificate.ps1 -CertificateName "" -CertLocation "" | |
param( | |
[Parameter( | |
Mandatory=$true, | |
HelpMessage="Name of the cert - this will copy the certificate from tron to the local machine")] | |
[string]$CertificateName, | |
[Parameter( | |
Mandatory=$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
function enable_net_3_5_features() | |
{ | |
Add-WindowsFeature NET-HTTP-Activation | |
Add-WindowsFeature NET-Win-CFAC | |
Add-WindowsFeature NET-Non-HTTP-Activ | |
Add-WindowsFeature AS-MSMQ-Activation | |
} | |
function enable_iis_common_http_features() | |
{ |
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
Copyright (c) 2013 OpenTable, Inc. | |
Permission is hereby granted, free of charge, to any person obtaining | |
a copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, | |
distribute, sublicense, and/or sell copies of the Software, and to | |
permit persons to whom the Software is furnished to do so, subject to | |
the following conditions: |