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
{ | |
"$schema": "http://columnformatting.sharepointpnp.com/columnFormattingSchema.json", | |
"debugMode": true, | |
"elmType": "div", | |
"txtContent": "@currentField", | |
"style": { | |
"background-color": { | |
"operator": "?", | |
"operands": [ | |
{ |
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
{ | |
"$schema": { | |
"description": "schema of the JSON", | |
}, | |
"debugMode": { | |
"description": "Is this JSON in debug mode?", | |
}, | |
"elmType": { | |
"description": "The type of element to create", | |
}, |
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
{ | |
"$schema": "http://columnformatting.sharepointpnp.com/columnFormattingSchema.json", | |
"debugMode": true, | |
"elmType": "div", | |
"txtContent": "@currentField", | |
"style": { | |
"background-color": "blue", | |
"color": "white", | |
"padding-left": "10px" | |
} |
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
choco install googlechrome | |
choco install firefox | |
choco install jre8 | |
choco install flashplayerplugin | |
choco install 7zip.install | |
choco install notepadplusplus.install | |
choco install vlc | |
choco install paint.net |
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
#Requires Azure PowerShell v2 | |
#Check documentation https://docs.microsoft.com/en-us/powershell/azure/active-directory/install-adv2?view=azureadps-2.0 | |
#Make sure AzureRM module is installed and loaded | |
Import-Module AzureRM | |
#Connect to Azure | |
Login-AzureRmAccount | |
#Get the current VM config |
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
#Azure PowerShell v2 | |
#Check documentation https://docs.microsoft.com/en-us/powershell/azure/active-directory/install-adv2?view=azureadps-2.0 | |
Import-Module AzureRM | |
$credential = Get-Credential | |
Login-AzureRmAccount -Credential $credential | |
#List all resource providers enabled | |
Get-AzureRmResourceProvider -ListAvailable | format-table |
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
# Connect to Azure | |
az login | |
# Create resource group if necessary | |
az group create --name MyResourceGroup --location "Central US" | |
# Deploy the template to the defined resource group | |
az group deployment create \ | |
--name DeploymentFromCLI \ | |
--resource-group MyResourceGroup \ |
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
#Connect to Azure | |
Login-AzureRmAccount | |
#Create a new resource group is necessary | |
New-AzureRmResourceGroup -Name MyResourceGroup -Location "East US" | |
#Deploy the template in the defined Resource Group | |
New-AzureRmResourceGroupDeployment -Name ExampleDeployment -ResourceGroupName MyResourceGroup ` | |
-TemplateFile c:\projects\templates\azuredeploy.json ` | |
-Verbose |
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"storageAccountType": { | |
"type": "string" | |
} | |
}, | |
"variables": { | |
"storageAccountName": "[concat('sa', uniquestring(resourceGroup().id))]" |
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"resources": [ | |
{ | |
"apiVersion": "2016-01-01", | |
"type": "Microsoft.Storage/storageAccounts", | |
"name": "[concat('storage', copyIndex(), uniqueString(resourceGroup().id))]", | |
"location": "[resourceGroup().location]", | |
"sku": { |