I hereby claim:
- I am svenaelterman on github.
- I am svenaelterman (https://keybase.io/svenaelterman) on keybase.
- I have a public key ASBZCmBChaaiWq4ThPJNCgWm7WQN4D3dTXM0fLujQ1z59go
To claim this, I am signing this object:
<# | |
Written with version 2.8.0 of the Azure PowerShell Module | |
available from here https://github.com/Azure/azure-powershell/releases/tag/v2.8.0-October2019 | |
or run: Install-Module -Name Az -RequiredVersion 2.6.0 -AllowClobber | |
Migration instructions Azure.RM to Az - https://azure.microsoft.com/en-au/blog/how-to-migrate-from-azurerm-to-az-in-azure-powershell/ | |
#> | |
# from https://poshtools.com/2018/04/10/cross-platform-out-gridview-using-universal-dashboard/ | |
function Out-GridView | |
{ |
# A valid password requires a length of 12 and at least one upper/lower/digit | |
pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*" | |
# Generate a random string of 12 characters to make the names unique and to use as a password | |
while ! echo $random12 | grep -P "(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*" | |
do | |
random12=$(head /dev/urandom | tr -dc a-zA-Z0-9 | fold -w 12 | head -n 1) | |
done | |
region="eastus" | |
group="rg-disk-test-$random12" |
I hereby claim:
To claim this, I am signing this object:
{ | |
"installChannelUri": ".\\ChannelManifest.json", | |
"channelUri": "https://aka.ms/vs/15/release/channel", | |
"installCatalogUri": ".\\Catalog.json", | |
"channelId": "VisualStudio.15.Release", | |
"productId": "Microsoft.VisualStudio.Product.Enterprise", | |
"includeRecommended": true, | |
"includeOptional": true, | |
"productKey": "AAAAABBBBBCCCCCDDDDDEEEEE", |
Login-AzureRmAccount | |
Select-AzureRmSubscription -SubscriptionName 'Your Subscription Name' | |
$RgName = 'Your Resource Group Name' | |
$SrvName = 'Your SQL Server Name' | |
$staticIps = "1.2.3.4", "1.2.3.5" | |
$ruleNames = "Rule 1", "Rule 2" | |
$i = 0 |