Skip to content

Commit d217d95

Browse files
author
Dan Denney
committed
removed details
1 parent c05b5bf commit d217d95

6 files changed

Lines changed: 11 additions & 98 deletions

PowerShell/Rename PQUADNT accounts.ps1

Lines changed: 0 additions & 48 deletions
This file was deleted.

PowerShell/Rename PROFLOWER accounts.ps1

Lines changed: 0 additions & 33 deletions
This file was deleted.

PowerShell/Rolling restore of AG databases.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
cls
22
## Variables to Change
3-
$FromServer = 'db-ecomm-fe01.prod.pquadnt.com'
4-
$ToServer = 'ecomm-fe1sql.ad.pquadnt.com'
3+
$FromServer = ''
4+
$ToServer = ''
55

66

77
## Static variables that don't change
88
$ToDataPath = 'S:\DB_DATA\'
99
$ToLogPath = 'S:\DB_LOGS\'
10-
$BackupDirectory = '\\ad.pquadnt.com\pc-sqlbackup\backups\'
10+
$BackupDirectory = ''
1111

1212
$AvailabilityGroups = Get-DbaAvailabilityGroup -SqlInstance $FromServer
1313
$Cluster = Get-DbaWsfcCluster -ComputerName $FromServer

PowerShell/TestFile.ps1

Lines changed: 0 additions & 1 deletion
This file was deleted.

PowerShell/Update Commerce-Live CNAMEs.ps1

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,17 @@
33

44

55

6-
$HostedZoneId = "ZHC4A6DG9G5YK" ## cafepress.io
7-
$CNAMEArray = @('db-ecomm-fe01.prod.pquadnt.com','db-ecomm-fe02.prod.pquadnt.com','db-ecomm-fe03.prod.pquadnt.com','db-ecomm-hs01.prod.pquadnt.com','db-ecomm-be01.prod.pquadnt.com','db-ecomm-be01-logging.prod.pquadnt.com','db-ecomm-rpt.prod.pquadnt.com','db-ecomm-rpt-user.prod.pquadnt.com')
6+
$HostedZoneId = "" ## cafepress.io
7+
$CNAMEArray = @('')
88

99

1010

1111
foreach ($CName in $CNAMEArray){
1212

1313
$NewEndpoint = Switch($CName){
14-
'db-ecomm-fe01.prod.pquadnt.com' {'ecommfe1-ls.ad.pquadnt.com'}
15-
'db-ecomm-fe02.prod.pquadnt.com' {'ecommfe2-ls.ad.pquadnt.com'}
16-
'db-ecomm-fe03.prod.pquadnt.com' {'ecommfe3-ls.ad.pquadnt.com'}
17-
'db-ecomm-hs01.prod.pquadnt.com' {'ecommhs1-ls.ad.pquadnt.com'}
18-
'db-ecomm-be01.prod.pquadnt.com' {'ecommbe1-ls.ad.pquadnt.com'}
19-
'db-ecomm-be01-logging.prod.pquadnt.com' {'ecommbeLog-ls.ad.pquadnt.com'}
20-
'db-ecomm-rpt.prod.pquadnt.com' {'ecommrptprod-ls.ad.pquadnt.com'}
21-
'db-ecomm-rpt-user.prod.pquadnt.com' {'ecommrptuser-ls.ad.pquadnt.com'}
14+
'' {''}
15+
'' {''}
16+
2217
}
2318
$CName
2419
$NewEndpoint

PowerShell/Update Shared-Live CNAMEs.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
## Update access key info above
55

66

7-
$NewEndpoint = "rds-shared-live-sqlserver-0001.cfxtpvtqarp5.us-east-1.rds.amazonaws.com" ## !! Update Endpoint here !!
7+
$NewEndpoint = "" ## !! Update Endpoint here !!
88

9-
$HostedZoneId = "ZHC4A6DG9G5YK" ## cafepress.io
10-
$CNAMEArray = @('rds-cpcom-content-live.cafepress.io','rds-email-live.cafepress.io','rds-errorlog-live.cafepress.io','rds-partnerintegration-live.cafepress.io','rds-productmapping-live.cafepress.io','rds-simpleorder-live.cafepress.io','rds-transit-live.cafepress.io')
9+
$HostedZoneId = "" ## cafepress.io
10+
$CNAMEArray = @('')
1111

1212
foreach ($CName in $CNAMEArray){
1313

0 commit comments

Comments
 (0)