full_path
stringlengths
31
232
filename
stringlengths
4
167
content
stringlengths
0
48.3M
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/Bastions/NeptunePilot-BookingsReport.ps1
NeptunePilot-BookingsReport.ps1
Param([string]$S3BucketName) try { Copy-S3Object -BucketName $S3BucketName -Key bootstrap/Bastions/NeptunePilot-BookingsReport.sql -LocalFile C:\Tools\Scripts\NeptunePilot-BookingsReport.sql $Report = Invoke-Sqlcmd -InputFile C:\Tools\Scripts\NeptunePilot-BookingsReport.sql -ServerInstance npilot-rds.uat.b...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/Bastions/BATv2-website-instances.ps1
BATv2-website-instances.ps1
Add-Type -Path "C:\Program Files (x86)\AWS SDK for .NET\bin\Net35\AWSSDK.dll" $Region = 'eu-west-1' # DEV $Filter = New-Object Amazon.EC2.Model.Filter $Filter.Name = 'tag:Name' $Filter.Values = 'dev-batv2-website' $Report_dev = Get-EC2Instance -Filter $Filter -Region $Region | Select-Object -ExpandProperty ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/Bastions/ScheduledTasks.ps1
ScheduledTasks.ps1
Param([string]$environmentName, [string]$S3BucketName) if (!(Test-Path -LiteralPath C:\Tools\Scripts)) { New-Item -Path C:\Tools\Scripts -ItemType directory } if ($environmentName -eq 'uat') { # NeptunePilot Bookings Report try { Copy-S3Object -BucketName $S3BucketName -Key bootstrap/Bast...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQL/Bootstrap_SQL1.ps1
Bootstrap_SQL1.ps1
Param([string]$S3BucketName, [string]$awsRegion, [string]$environmentName) # Change drive letters $keyPrefix = "bootstrap/MTP/SQL/" $localPath = "C:\Temp" $FileName = "drives.diskpart_SQL1.txt" $completeKey = $keyPrefix+$FileName if (!(Test-Path -LiteralPath $localPath)) { New-Item -Path $localPath -ItemTy...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQL/BackupForExport/BackupDatabasesForDW.ps1
BackupDatabasesForDW.ps1
Import-Module -Name AWSPowerShell Set-Location C:\POWERSHELL\MTPDeploy ./Initialize-SqlpsEnvironment.ps1 $BackupPath = 'J:\DWBackups' $ServerNames = $env:COMPUTERNAME $BucketName = 'bookatable' if(!(Test-Path $BackupPath)) { New-Item $BackupPath -type directory } Remove-Item $BackupPath\* -Recurse ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQL/MTPDeploy/Set-Provider-Settings.ps1
Set-Provider-Settings.ps1
$ServerNames = "$env:computername" $DatabaseNames = "DBA" Invoke-Sqlcmd -ServerInstance $ServerNames -Database $DatabaseNames -Query "EXEC DBA.dbo.SetEnviromentVariables '@ENVIRONMENT_TLD','@ServiceSettingCOMMUNICATORSERVERADDRESS',@TestEnv" -querytimeout 6000
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQL/MTPDeploy/Create-SQL-Dir-SQL01.ps1
Create-SQL-Dir-SQL01.ps1
if((Test-Path E:\Sqldata) -eq 0) { New-Item E:\Sqldata -type directory } if((Test-Path E:\SqlIndexes) -eq 0) { New-Item E:\SqlIndexes -type directory } if((Test-Path F:\SQLLogs) -eq 0) { New-Item F:\SQLLogs -type directory } if((Test-P...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQL/MTPDeploy/Restore_CutDownDatabases_Devs.ps1
Restore_CutDownDatabases_Devs.ps1
Param([string]$environmentName, [string]$awsRegion) #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" #Set-ExecutionPolicy RemoteSigned Set-Location C:\POWERSHELL\MTPDeploy #Load SQL cmdlts ./Initialize-SqlpsEnvironment.ps1 #Variables $...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQL/MTPDeploy/SQLServiceCheck.ps1
SQLServiceCheck.ps1
# Start SQL Server Database engine service (default instance) If ((Get-Service -Name "MSSQLSERVER").Status -eq "Stopped") { Start-Service -Name 'MSSQLSERVER' } # Start SQL Server SQL Server Agent service (default instance) If ((Get-Service -Name "SQLSERVERAGENT").Status -eq "Stopped") ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQL/MTPDeploy/Initialize-SqlpsEnvironment.ps1
Initialize-SqlpsEnvironment.ps1
# # Initialize-SqlpsEnvironment.ps1 # # Loads the SQL Server provider extensions $ErrorActionPreference = "Stop" $sqlpsreg="HKLM:\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.SqlServer.Management.PowerShell.sqlps" if (Get-ChildItem $sqlpsreg -ErrorAction "SilentlyContinue") { throw "SQL Server...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/BastionA/Send-Lists.ps1
Send-Lists.ps1
Param([string]$environmentName) import-module "C:\tools\awsBookatable.psm1" $StandardERB = GetKnownPublicDNSEndPoint -useCustomDNS $true -endPointName standardcf -environmentName $environmentName Invoke-WebRequest -UseBasicParsing -Uri http://$StandardERB/stuff/task_sendlists.cfm
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/BastionA/Send-Mailings.ps1
Send-Mailings.ps1
Param([string]$environmentName) import-module "C:\tools\awsBookatable.psm1" $StandardERB = GetKnownPublicDNSEndPoint -useCustomDNS $true -endPointName standardcf -environmentName $environmentName Invoke-WebRequest -UseBasicParsing -Uri http://$StandardERB/stuff/task_sendMailings.cfm
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/BastionA/ScheduledTasks.ps1
ScheduledTasks.ps1
Param([string]$environmentName, [string]$S3BucketName) $logName = 'Microsoft-Windows-TaskScheduler/Operational' $log = New-Object System.Diagnostics.Eventing.Reader.EventLogConfiguration $logName $log.IsEnabled=$true $log.SaveChanges() if (!(Test-Path -LiteralPath C:\Tools\Scripts)) { New-Item -Path C:\To...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/Bootstrap_SQLDW.ps1
Bootstrap_SQLDW.ps1
Param([string]$S3BucketName) #import-module "C:\tools\bookatable.psm1" # Change drive letters $keyPrefix = "bootstrap/MTP/SQLDW/" $localPath = "C:\Temp" $FileName = "drives.diskpart_SQLDW.txt" $completeKey = $keyPrefix+$FileName if (!(Test-Path -LiteralPath $localPath)) { New-Item -Path $localPath -Item...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/Enable-SQLProtocols.ps1
Enable-SQLProtocols.ps1
[reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo") [reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.SqlWmiManagement") $MachineObject = new-object ('Microsoft.SqlServer.Management.Smo.WMI.ManagedComputer') $ProtocolUri = "ManagedComputer[@Name='" + (get-item env:\computername).Val...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/Install-PumpDll.ps1
Install-PumpDll.ps1
Add-WindowsFeature Web-Server, Web-ISAPI-Ext Import-Module -Name WebAdministration if (!(Test-Path -Path C:\inetpub\wwwroot\olap)) { New-Item -Path C:\inetpub\wwwroot\olap -ItemType directory } Copy-Item -Path 'C:\Program Files\Microsoft SQL Server\MSAS10_50.MSSQLSERVER\OLAP\bin\isapi\*' -Destination 'C:\i...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/DeployManifest.ps1
DeployManifest.ps1
param ( [String]$Server, [String]$Folder, [String]$ProjectFolder, [String]$FileLocation, [String]$ManifestFile, [String]$ConfigDest ) add-type -AssemblyName "Microsoft.SqlServer.ManagedDTS, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Set-Location "C:\P...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/Restore-SSAS-Db.ps1
Restore-SSAS-Db.ps1
$ServerNames = $env:computername $RestoreFile = "\\172.20.0.110\sqlbackup\MSSQLSERVER\SSAS_LB-SQL-05\LivebookingsDWApp_03052015200000.abf" $MSSQLServerOLAPServiceName = 'MSOLAP$QA05V2008' If ((Get-Service -Name $MSSQLServerOLAPServiceName).Status -eq "Stopped") { write-host "Starting MSSQLServerOLA...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/SSIS-Create-FolderOnSqlServer.ps1
SSIS-Create-FolderOnSqlServer.ps1
Function SSIS-Create-FolderOnSqlServer { param ( [string]$Server, [string]$Folder ) $folderDelimter = "\" try { # if they supply multiple-level of folders, might need to create whole structure # while recursion would be a more elegant soluti...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/Deploy-Dw-SSIS.ps1
Deploy-Dw-SSIS.ps1
add-type -AssemblyName "Microsoft.SqlServer.ManagedDTS, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Set-Location "C:\Powershell\DWDeploy" $Server = $env:computername $Folder = "Livebookings DW" $ProjectFolder = "\Livebookings DW" $FileLocation = "G:\Backups\...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/Deploy-MTPExport-SSIS.ps1
Deploy-MTPExport-SSIS.ps1
add-type -AssemblyName "Microsoft.SqlServer.ManagedDTS, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Set-Location "C:\Powershell\DWDeploy" $Server = $env:computername $Folder = "MTPExport" $ProjectFolder = "\\MTPExport" $FileLocation = "G:\Backups\MTPExport" ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/SQLServiceCheck.ps1
SQLServiceCheck.ps1
# Start SQL Server Database engine service (default instance) If ((Get-Service -Name "MSSQLSERVER").Status -eq "Stopped") { Start-Service -Name 'MSSQLSERVER' } # Start SQL Server SQL Server Agent service (default instance) If ((Get-Service -Name "SQLSERVERAGENT").Status -eq "Stopped") ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/Initialize-SqlpsEnvironment.ps1
Initialize-SqlpsEnvironment.ps1
# # Initialize-SqlpsEnvironment.ps1 # # Loads the SQL Server provider extensions $ErrorActionPreference = "Stop" $sqlpsreg="HKLM:\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.SqlServer.Management.PowerShell.sqlps" if (Get-ChildItem $sqlpsreg -ErrorAction "SilentlyContinue") { throw "SQL Server...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/SSIS-Copy-Package.ps1
SSIS-Copy-Package.ps1
# Deploy a package to a folder Function SSIS-Copy-Package { param ( [string]$Server, [string]$PathToDtsx, [string]$ProjectFolder = "\\" ) # Set-ExecutionPolicy RemoteSigned # $ProjectFolder = "\\LivebookingsDW" $events = $null $userName = $null $password ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/Deploy-SSIS-Packages.ps1
Deploy-SSIS-Packages.ps1
Set-Location "C:\Powershell\DWDeploy" ./DeployManifest $Server = $env:computername $Folder = "LivebookingsDW" $ProjectFolder = "\\LivebookingsDW" $FileLocation = "G:\Backups\LivebookingsDw" $ManifestFile = "G:\Backups\LivebookingsDw\LivebookingsDWETL.SSISDeploymentManifest" $Confi...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/Create-SQL-Dir-DW.ps1
Create-SQL-Dir-DW.ps1
if((Test-Path C:\Powershell\DWDeploy\Logs) -eq 0) { New-Item C:\Powershell\DWDeploy\Logs -type directory } if((Test-Path E:\Sqldata) -eq 0) { New-Item E:\Sqldata -type directory } if((Test-Path E:\SqlIndexes) -eq 0) { New-Item E:\SqlIndexes -type dir...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/DWDeploy/Restore_CutDownDatabases_DW.ps1
Restore_CutDownDatabases_DW.ps1
#Set-ExecutionPolicy RemoteSigned Set-Location C:\POWERSHELL\DWDeploy #Load SQL cmdlts ./Initialize-SqlpsEnvironment.ps1 #Variables $ServerNames = $env:computername $DatabaseNames = "DBA" $ScriptLocation = "C:\POWERSHELL\DWDeploy\" $CreateUserFile = $ScriptLocation+"Create-User1.sql" $CreateDBAData...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/MTP/SQLDW/RestoreForexport/RestoreDatabaseandrunexportsandDWbuild.ps1
RestoreDatabaseandrunexportsandDWbuild.ps1
Import-Module -Name AWSPowerShell Set-Location C:\POWERSHELL\DWDeploy ./Initialize-SqlpsEnvironment.ps1 $ServerNames = $env:COMPUTERNAME $DatabaseNames = 'DBA' $S3BucketName = 'bookatable' $ScriptLocation = "C:\POWERSHELL\DWDeploy\" $OrphanedUsersScript = $ScriptLocation+"Fix-Orphaned-Users.sql" $keyPre...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/ColdFusion/awsTransform-CFNeo.ps1
awsTransform-CFNeo.ps1
Param([string]$environmentName, [string]$awsRegion, [string]$useCustomDNS) #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\awsBookatable.psm1" $customDNS = $null if ($useCustomDNS.ToLower() -eq "true") { $customDNS = $true } else { $customDNS = $f...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/Instances/AddUsersInstances.ps1
AddUsersInstances.ps1
Param([string]$awsRegion, [string]$Project) $InstanceID = (Invoke-WebRequest -UseBasicParsing -Uri http://169.254.169.254/latest/meta-data/instance-id).Content $Tags = Get-EC2Tag -Region $awsRegion -Filter @{Name="resource-id"; Value="$InstanceID"} switch ($Project) { 'NeptunePilot' { if ((($Tag...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Bootstrap/Instances/AddUsersInstancesV3.ps1
AddUsersInstancesV3.ps1
Param([string]$awsRegion, [string]$Role) $InstanceID = (Invoke-WebRequest -UseBasicParsing -Uri http://169.254.169.254/latest/meta-data/instance-id).Content $Tags = Get-EC2Tag -Region $awsRegion -Filter @{Name="resource-id"; Value="$InstanceID"} $vestionNumber = "4.0.0" Write-Output "Using AddUsersInstances...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Odds/GetInstanceIpByTagFunction.ps1
GetInstanceIpByTagFunction.ps1
# List Instance info # Instance Id PrivateIpAddress, The value of the Function tag $Region = 'eu-west-1' # DEV $Filter = New-Object Amazon.EC2.Model.Filter $Filter.Name = 'tag:Name' $Filter.Values = 'dev-neptune-*' $Report_dev = Get-EC2Instance -Filter $Filter -Region $Region -ProfileName infra | Select-Obje...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/AmiBuild/teamcityami.ps1
teamcityami.ps1
<powershell> #left to do: install windows updates, run sysprep with en-GB values and retrieve password from console #installer file names $java_inst = "jdk-8u121-windows-x64.exe" $tcagent_inst = "buildAgent.zip" $asp_net_mvc3 = "AspNetMVC3Setup.exe" $asp_net_mvc4 = "AspNetMVC4Setup.exe" $AWSToolsAndSDKForNet =...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/AmiBuild/iisami.ps1
iisami.ps1
<powershell> #left to do: install windows updates, run sysprep with en-GB values and retrieve password from console #Create folders New-Item -ItemType directory -Path C:\Tools\Installers New-Item -ItemType directory -Path D:\Logs\iis #Download and install stuff from S3 bucket #AspNetMVC3Setup Copy-S3Obj...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/theplatform/customMetaData.ps1
customMetaData.ps1
Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) if (Test-Path "C:\tools\awsBookatable.psm1" -PathType Leaf) { Write-Host "Module found ... loading" if (Get-Module awsBookatable) { Remove-Module awsBookatable } ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/theplatform/customUserData.ps1
customUserData.ps1
Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Read-S3Object -BucketName $S3BucketName -Key bootstrap/SQL2008ADOClient/SQLSERVER2008_ASADOMD10.msi -file C:\Tools\SQLSERVER2008_ASADOMD10.msi & C:\Tools\SQLSERVER2008_ASADOMD10.msi /quiet
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/authenticationservice/customMetaData.ps1
customMetaData.ps1
Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) if (Test-Path "C:\tools\awsBookatable.psm1" -PathType Leaf) { Write-Host "Module found ... loading" if (Get-Module awsBookatable) { Remove-Module awsBookatable } ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/lbadmin/customMetaData.ps1
customMetaData.ps1
Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) if (Test-Path "C:\tools\awsBookatable.psm1" -PathType Leaf) { Write-Host "Module found ... loading" if (Get-Module awsBookatable) { Remove-Module awsBookatable } ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/lbadmin/customUserData.ps1
customUserData.ps1
Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Read-S3Object -BucketName $S3BucketName -Key bootstrap/SQL2008ADOClient/SQLSERVER2008_ASADOMD10.msi -file C:\Tools\SQLSERVER2008_ASADOMD10.msi & C:\Tools\SQLSERVER2008_ASADOMD10.msi /quiet tzutil /...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/kitchensink/customMetaData.ps1
customMetaData.ps1
Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) if (Test-Path "C:\tools\awsBookatable.psm1" -PathType Leaf) { Write-Host "Module found ... loading" if (Get-Module awsBookatable) { Remove-Module awsBookatable } ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/offerapi/customMetaData.ps1
customMetaData.ps1
Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) if (Test-Path "C:\tools\awsBookatable.psm1" -PathType Leaf) { Write-Host "Module found ... loading" if (Get-Module awsBookatable) { Remove-Module awsBookatable } ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/simpleavailability/customUserData.ps1
customUserData.ps1
# Install DataDog Agent Param( [string]$S3BucketName, [string]$Environment, [string]$awsRegion ) $PathToPackage = 'bootstrap/DataDogAgent' $InstallerName = 'ddagent-cli.msi' # Check if the package exists on S3 try { Get-S3ObjectMetadata -BucketName $S3BucketName -Key $PathToPackage/$Instal...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/S3ImageService/customMetaData.ps1
customMetaData.ps1
# Check for and create imageCache folder if (!(Test-Path -LiteralPath d:\sites\imagecache)) { New-Item -Path d:\sites\imagecache -ItemType directory } #Setup the virtual directory in IIS #Requires -RunAsAdministrator Import-Module WebAdministration $siteName = "services-S3ImageService" $vDirName = "imagec...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/S3ImageService/customUserData.ps1
customUserData.ps1
Param( [string]$S3BucketName, [string]$Environment, [string]$awsRegion ) $PathToPackage = 'bootstrap/URLRewriteModule' $InstallerName = 'rewrite_amd64.msi' # Check if the package exists on S3 try { Get-S3ObjectMetadata -BucketName $S3BucketName -Key $PathToPackage/$InstallerName | Out-Null ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/services/rcps/customMetaData.ps1
customMetaData.ps1
# PopApp Deploy Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Import-Module WebAdministration Set-ItemProperty IIS:\AppPools\services-RCPS managedRuntimeVersion v2.0 if (Test-Path "C:\tools\awsBookatable.psm1" -PathType Leaf) { Write-Ho...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/BATv2/website/customMetaData.ps1
customMetaData.ps1
# PopApp Deploy Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) $PathToPackage = 'batv2/popapp' $executableName = 'BAT.Infrastructure.PopulateDbAndES' $ServiceName = 'PopulateDbAndES' # Check if the package exists on S3 try { Get-S3Objec...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/BATv2/website/customUserData.ps1
customUserData.ps1
# PopApp Prerequisites Install-WindowsFeature -Name SMTP-Server # Allow localhost permission to relay $smtpVBS = @' Option Explicit Dim smtpServer, relayIPlist Set smtpServer = GetObject("IIS://localhost/smtpsvc/1") Set relayIpList = smtpServer.Get("RelayIpList") relayIpList.GrantByDefault = false relayIpLis...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/neptune/websettings/customUserData.ps1
customUserData.ps1
Param( [string]$S3BucketName, [string]$Environment, [string]$awsRegion ) $PathToPackage = 'bootstrap/URLRewriteModule' $InstallerName = 'rewrite_amd64.msi' # Check if the package exists on S3 try { Get-S3ObjectMetadata -BucketName $S3BucketName -Key $PathToPackage/$InstallerName | Out-Null ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/neptune/accountmanager/customUserData.ps1
customUserData.ps1
Param( [string]$S3BucketName, [string]$Environment, [string]$awsRegion ) $PathToPackage = 'bootstrap/URLRewriteModule' $InstallerName = 'rewrite_amd64.msi' # Check if the package exists on S3 try { Get-S3ObjectMetadata -BucketName $S3BucketName -Key $PathToPackage/$InstallerName | Out-Null ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/neptune/bookingmanager/customUserData.ps1
customUserData.ps1
Param( [string]$S3BucketName, [string]$Environment, [string]$awsRegion ) $PathToPackage = 'bootstrap/URLRewriteModule' $InstallerName = 'rewrite_amd64.msi' # Check if the package exists on S3 try { Get-S3ObjectMetadata -BucketName $S3BucketName -Key $PathToPackage/$InstallerName | Out-Null ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/neptune/searchpoc-api/customUserData.ps1
customUserData.ps1
Param( [string]$S3BucketName, [string]$Environment, [string]$awsRegion ) $PathToPackage = 'bootstrap/DotNetCoreWindowsHosting' $InstallerName = 'DotNetCore.1.0.1-WindowsHosting.exe' # Check if the package exists on S3 try { Get-S3ObjectMetadata -BucketName $S3BucketName -Key $PathToPackage/...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/services/OfferAPI/customMetaData.ps1
customMetaData.ps1
# PopApp Deploy Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) $path = "D:\sites\Staging\Web.config" $doc = [xml](Get-Content -Path $path) $node = $doc.configuration.'system.serviceModel'.behaviors.serviceBehaviors.behavior | Where-Object {$_.Na...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/services/KitchenSink/customMetaData.ps1
customMetaData.ps1
# PopApp Deploy Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Import-Module WebAdministration Set-ItemProperty IIS:\AppPools\services-KitchenSink managedRuntimeVersion v2.0 $path = "D:\sites\Staging\Web.config" $doc = [xml](Get-Content -Path...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/services/Authentication/customMetaData.ps1
customMetaData.ps1
# PopApp Deploy Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Import-Module WebAdministration Set-ItemProperty IIS:\AppPools\services-Authentication managedRuntimeVersion v2.0 $path = "D:\sites\Staging\Web.config" $doc = [xml](Get-Content -P...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/services/RCPS/customMetaData.ps1
customMetaData.ps1
# PopApp Deploy Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Import-Module WebAdministration Set-ItemProperty IIS:\AppPools\services-RCPS managedRuntimeVersion v2.0
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/services/LBMonitoring/customMetaData.ps1
customMetaData.ps1
# PopApp Deploy Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Stop-Service "LBMonitoring" -Force & sc.exe delete "LBMonitoring" Start-Sleep -Seconds 5 New-Service -Name lms -DisplayName "Livebookings Monitoring Service" -BinaryPathName "...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/services/LBMonitoring/customUserData.ps1
customUserData.ps1
netsh advfirewall firewall add rule name="LBMonitoring" dir=in action=allow protocol=TCP localport=8080
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/services/LBContent/customMetaData.ps1
customMetaData.ps1
# PopApp Deploy Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Import-Module WebAdministration Set-ItemProperty IIS:\AppPools\services-LBContent managedRuntimeVersion v2.0 $path = "D:\sites\Staging\Web.config" $doc = [xml](Get-Content -Path $...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/web/StandardERB/customUserData.ps1
customUserData.ps1
Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Read-S3Object -BucketName $S3BucketName -Key deployments/Transforms/awsBookatable.psm1 -file C:\Tools\awsBookatable.psm1 Read-S3Object -BucketName $S3BucketName -Key bootstrap/ColdFusion/awsTransform-...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/web/Platform/customMetaData.ps1
customMetaData.ps1
# PopApp Deploy Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) $path = "D:\sites\Staging\Web.config" $doc = [xml](Get-Content -Path $path) $element = $doc.configuration.runtime.assemblyBinding.dependentAssembly[0].clone() $element.assemblyIdent...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/web/Platform/customUserData.ps1
customUserData.ps1
Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Read-S3Object -BucketName $S3BucketName -Key bootstrap/SQL2008ADOClient/SQLSERVER2008_ASADOMD10.msi -file C:\Tools\SQLSERVER2008_ASADOMD10.msi & C:\Tools\SQLSERVER2008_ASADOMD10.msi /quiet Start-Slee...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/web/LBAdmin/customMetaData.ps1
customMetaData.ps1
# PopApp Deploy Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) # Make sure the file dosent exist if (Test-Path -LiteralPath "D:\sites\Staging\one-reservations-supporting.zip") { Remove-Item -LiteralPath "D:\sites\Staging\one-reservations-su...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/InstanceCustomisation/MTP/web/LBAdmin/customUserData.ps1
customUserData.ps1
Param( [string]$S3BucketName, [string]$BuildNumber, [string]$Environment, [string]$awsRegion ) Read-S3Object -BucketName $S3BucketName -Key bootstrap/SQL2008ADOClient/SQLSERVER2008_ASADOMD10.msi -file C:\Tools\SQLSERVER2008_ASADOMD10.msi & C:\Tools\SQLSERVER2008_ASADOMD10.msi /quiet
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/PreAWSPreperation/PrepareDynamasterForPackage.ps1
PrepareDynamasterForPackage.ps1
$sourceDIR = 'E:\Sites\contentadmin.livebookings.com' $destinationDIR = 'C:\temp\Dynamaster-Copy' if (!(Test-Path -LiteralPath $destinationDIR)) { New-Item -Path $destinationDIR -ItemType directory } & robocopy $sourceDIR $destinationDIR /E /XD "$sourceDIR\static\dynamaster\file_archive" "$sourceDIR\static...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/Brocar-API-Transform.ps1
Brocar-API-Transform.ps1
#Placeholder transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Transforms--------- Write-Output "Running trans...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/NeptunePilot-Widget-Transform.ps1
NeptunePilot-Widget-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Transforms--------- Write-Output "Release tran...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/GMM-Availability-Transform.ps1
GMM-Availability-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Transforms--------- Write-Output "Running tran...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/NeptunePilot-AvailabilityPlansService-Transform.ps1
NeptunePilot-AvailabilityPlansService-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Dynamic replacements--------- Write-Output "Up...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/neptune-searchpoc-net-Transform.ps1
neptune-searchpoc-net-Transform.ps1
#Placeholder transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\services\Staging" #----------Transforms--------- Write-Output "Running tr...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/services-consumersearchlistener-Transform.ps1
services-consumersearchlistener-Transform.ps1
#Placeholder transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\services\Staging" #----------Transforms--------- Write-Output "Running tr...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/services-waitlist-winservice-beta-Transform.ps1
services-waitlist-winservice-beta-Transform.ps1
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/awsTransform.ps1
awsTransform.ps1
#Generic transform file Param([string]$environmentName, [string]$awsRegion, [string]$applicationType, [string]$executableName) # environmentName = Name of the environment this is being executed against # awsRegion = AWS region this is being deployed into # applicationType = What type of application is this,...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/Neptune-Facade-Transform.ps1
Neptune-Facade-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Dynamic replacements--------- Write-Output "Up...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/NeptunePilot-BookingService-Transform.ps1
NeptunePilot-BookingService-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Dynamic replacements--------- Write-Output "Up...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/NeptunePilot-Facade-Transform.ps1
NeptunePilot-Facade-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Dynamic replacements--------- Write-Output "Up...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/Mantle-EventSubscriber-Transform.ps1
Mantle-EventSubscriber-Transform.ps1
#Placeholder transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\services\Staging" #----------Transforms--------- Write-Output "Running tr...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/Generic-WindowsService-Transform.ps1
Generic-WindowsService-Transform.ps1
#Placeholder transform file Param([string]$environmentName, [string]$awsRegion, [string]$executableName) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\services\Staging" #----------Transforms - String ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/NeptunePilot-RestaurantContentService-Transform.ps1
NeptunePilot-RestaurantContentService-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Dynamic replacements--------- Write-Output "Up...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/Mantle-Admin-Transform.ps1
Mantle-Admin-Transform.ps1
#Placeholder transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Transforms--------- Write-Output "Running trans...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/NeptunePilot-RestaurantAdminService-Transform.ps1
NeptunePilot-RestaurantAdminService-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Dynamic replacements--------- Write-Output "Up...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/Mantle-API-Transform.ps1
Mantle-API-Transform.ps1
#Placeholder transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Transforms--------- Write-Output "Running trans...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/Generic-Website-Transform.ps1
Generic-Website-Transform.ps1
#Generic web site transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Transforms - String Replacements --------- ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/NeptunePilot-BookingListService-Transform.ps1
NeptunePilot-BookingListService-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Dynamic replacements--------- Write-Output "Up...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/Neptune-AuthServer-Transform.ps1
Neptune-AuthServer-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Dynamic replacements--------- Write-Output "Up...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/mtpTransform.ps1
mtpTransform.ps1
# Generic MTP transform file for all components/applications param([string]$environmentName, [string]$awsRegion, [string]$applicationName, [string]$versionNumber, [string]$useCustomDNS, [string]$bucketName) #Import the bookatable module import-module "C:\tools\awsBookatable.psm1" $error.clear() #Set-DefaultA...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/Mantle-SalesforceListener-Transform.ps1
Mantle-SalesforceListener-Transform.ps1
#Placeholder transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Transforms--------- Write-Output "Running trans...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/NeptunePilot-CacheUpdater-Transform.ps1
NeptunePilot-CacheUpdater-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Dynamic replacements--------- Write-Output "Up...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/GMM-API-Transform.ps1
GMM-API-Transform.ps1
#The Platform transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Transforms--------- Write-Output "Running tran...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/NeptunePilot-AvailabilityService-Transform.ps1
NeptunePilot-AvailabilityService-Transform.ps1
Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #----------Dynamic replacements--------- Write-Output "Updating: Route 53 URLs for envi...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-LBAdmin.ps1
awsTransform-LBAdmin.ps1
#LB Admin transform file Param([string]$environmentName, [string]$awsRegion, [string]$useCustomDNS) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" $authenticationURL = (ELBDNSName $envir...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-LBMonitoringService.ps1
awsTransform-LBMonitoringService.ps1
#The monitoring service (LBMonitoring) # SMS provicer details are not modified Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\services\LBMonitoring" ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-Static.ps1
awsTransform-Static.ps1
#content.static-bookatable.com Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #$SQLServerURL = (ELBDNSName $environmentName SQL).DNSNa...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-AuthenticationService.ps1
awsTransform-AuthenticationService.ps1
#The AuthenticationService transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #$SQLServerURL = (ELBDNSName $environmentName...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-StandardCF.ps1
awsTransform-StandardCF.ps1
#The Standard transform file (Coldfusion Platform) Param([string]$environmentName, [string]$awsRegion, [string]$useCustomDNS) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" $platformURL ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-QueryService.ps1
awsTransform-QueryService.ps1
#The QueryService transform file Param([string]$environmentName, [string]$awsRegion, [string]$versionNumber) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\services\Staging\Build" $queryServiceURL = (E...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-OfferAPI.ps1
awsTransform-OfferAPI.ps1
# OfferAPI Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #$SQLServerURL = (ELBDNSName $environmentName SQL).DNSName $SQLServerURL = ...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-LBContent.ps1
awsTransform-LBContent.ps1
# LBContent Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #$SQLServerURL = (ELBDNSName $environmentName SQL).DNSName $SQLServerURL =...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-KitchenSink.ps1
awsTransform-KitchenSink.ps1
#The KitchenSink transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" $queryServiceURL = (ELBDNSName $environmentName QuerySe...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-LBSchedulingETL-Aggregator.ps1
awsTransform-LBSchedulingETL-Aggregator.ps1
# LBSchedulingETL-Aggregator Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\services\ETL\Aggregator" $etlAssemblyPath = "$applicationPath\Aggregator.ET...
PowerShellCorpus/Github/ggoinden_gibster/infrastructure-as-code/Powershell/Transforms/MTP/awsTransform-CMSMedia.ps1
awsTransform-CMSMedia.ps1
#The CMSMedia transform file Param([string]$environmentName, [string]$awsRegion) $error.clear() #Set-DefaultAWSRegion $awsRegion $global:StoredAWSRegion = $awsRegion import-module "C:\tools\bookatable.psm1" $applicationPath = "d:\sites\Staging" #$SQLServerURL = (ELBDNSName $environmentName SQL).DNSName...