This file contains hidden or 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
Configuration DSCFromGPO | |
{ | |
Import-DSCResource -ModuleName 'PSDesiredStateConfiguration' | |
Import-DSCResource -ModuleName 'AuditPolicyDSC' | |
Import-DSCResource -ModuleName 'SecurityPolicyDSC' | |
Import-DSCResource -ModuleName 'BaselineManagement' | |
# Module Not Found: Import-DSCResource -ModuleName 'xSMBShare' | |
# Module Not Found: Import-DSCResource -ModuleName 'DSCR_PowerPlan' |
This file contains hidden or 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
04ea771dc814209617ed63b03e504caa56ba774ce1c06d5b08832383ca275602dc0a1b2db0db7f46af5d148986b8eed91f8fded4dd0cd98416a48dd45000d26791 |
This file contains hidden or 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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"administratorLogin": { | |
"type": "string" | |
}, | |
"sqlPassword": { | |
"type": "securestring" | |
}, |
This file contains hidden or 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
{ | |
"type": "providers/diagnosticSettings", | |
"name": "Microsoft.Insights/diagnostic_primary", | |
"dependsOn": [ | |
"[resourceId('Microsoft.Sql/servers/databases', variables('primarySqlServerName'), parameters('databaseName'))]" | |
], | |
"apiVersion": "2017-05-01-preview", | |
"properties": { | |
"name": "Diagnostic_test", | |
"storageAccountId": "[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountNamePrimary'))]", |
This file contains hidden or 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
{ | |
"type": "Microsoft.KeyVault/vaults", | |
"apiVersion": "2018-02-14", | |
"name": "[concat(parameters('productName'), '-kv')]", | |
"location": "[resourceGroup().location]", | |
"tags": "[parameters('tags')]", | |
"properties": { | |
"enabledForDeployment": true, | |
"enabledForTemplateDeployment": true, | |
"enabledForDiskEncryption": true, |
This file contains hidden or 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
package main | |
import ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) |
This file contains hidden or 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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"frontDoorName": { | |
"defaultValue": "davidobrien", | |
"type": "string" | |
}, | |
"storageAccountName": { | |
"defaultValue": "davidobrienmaintenance", |
This file contains hidden or 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
trigger: | |
branches: | |
include: | |
- master | |
paths: | |
exclude: | |
- infra/* | |
include: | |
- xirus/* |
This file contains hidden or 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
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" | |
$headers.Add("Content-Type", "application/json") | |
$body = @' | |
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"projectName": { | |
"type": "string", |
This file contains hidden or 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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:DescribeInstances", | |
"ec2:DescribeInternetGateways", | |
"ec2:DescribeNetworkAcls", | |
"ec2:DescribeNetworkInterfaces", |