(Get-AzAppServicePlan -ResourceGroupName "<resource group name>" -Name "<app service plan name>").Sku.Capacity
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
/* Get all db principals and their roles for Azure SQL */ | |
SELECT | |
@@ServerName as ServerName, | |
DB_NAME() as DatabaseName, | |
pr.name AS PrincipalName, | |
pr.type_desc AS PrincipalType, | |
r.name AS RoleName, | |
dp.state_desc AS RoleState, | |
NULL as PermissionName, | |
NULL as PermissionState, |
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
param( | |
[String]$sourceStorageAccount, | |
[String]$targetStorageAccount, | |
[String]$sourceFolder, | |
[String]$targetFolder, | |
[String]$sourceSasToken, | |
[String]$targetSasToken, | |
[String]$triggerPeriod, | |
[Int32]$azCopyConcurrency | |
) |
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
declare @tableName varchar(200) | |
declare @columnName varchar(200) | |
declare @nullable varchar(50) | |
declare @datatype varchar(50) | |
declare @maxlen int | |
declare @pos int | |
declare @Stype varchar(50) | |
declare @isnullable varchar(1) | |
declare @Sproperty varchar(200) |
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
// Erin Eccleston 2018 | |
// Still buggy, btw... | |
using System; | |
using System.Timers; | |
using static System.Console; | |
using System.Collections.Generic; | |
static class Tetris | |
{ |