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
while ($true) { | |
$i = Get-Random 20 | |
./azcopy.exe cp https://xxxxxxxxxxxxxxxxxxxx.blob.core.windows.net/sample/test$(([string]$i).padleft(2,"0")).txt . | |
sleep $($i*30) | |
} |
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
select sdrm.*, sdp.name, sdp2.name from sys.database_role_members as sdrm | |
inner join sys.database_principals as sdp on sdrm.role_principal_id = sdp.principal_id | |
inner join sys.database_principals as sdp2 on sdrm.member_principal_id = sdp2.principal_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
$rgName = "pvlink-center" | |
$location = "eastus" | |
$vnet = Get-AzVirtualNetwork -name "vnet-pvlink-center" | |
$lbName = "pvlink-lbs" | |
$frontendIP = ( Get-AzLoadBalancer -Name $lbName | Get-AzLoadBalancerFrontendIpConfig) | |
$plsIpConfigName = "PLS-ipconfig" | |
$plsName = "pls" |
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
New-AzPrivateLinkService : Cannot bind parameter 'LoadBalancerFrontendIpConfiguration'. Cannot convert the "Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayFrontendIPConfiguration" value of type "Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayFrontendIPConfiguration" to type "Microsoft.Azure.Commands.Network.Models.PSFrontendIPConfiguration". | |
At line:5 char:38 | |
+ -LoadBalancerFrontendIpConfiguration $frontendIP ` | |
+ ~~~~~~~~~~~ | |
+ CategoryInfo : InvalidArgument: (:) [New-AzPrivateLinkService], ParameterBindingException | |
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Azure.Commands.Network.NewAzurePrivateLinkService |
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
while ($true) { | |
$i = Get-Random 10 | |
$ext = ".dat" | |
$container = "test" | |
$filename = "test" + ([string]$i).padleft(2,'0') + $ext | |
$accountname = "xxxxxxxxxx" | |
$sas = "xxxxxxxxxx" | |
$url = "https://" + $accountname + ".blob.core.windows.net/" + $container + "/" + $filename + $sas |
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
[ | |
{ | |
"offer": "windows-7", | |
"publisher": "MicrosoftWindowsDesktop", | |
"sku": "win7-enterprise", | |
"urn": "MicrosoftWindowsDesktop:windows-7:win7-enterprise:7601.24535.1911101844", | |
"version": "7601.24535.1911101844" | |
}, | |
{ | |
"offer": "windows-7", |
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
[ | |
{ | |
"offer": "WindowsServerHPCPack", | |
"publisher": "MicrosoftWindowsServerHPCPack", | |
"sku": "2012R2", | |
"urn": "MicrosoftWindowsServerHPCPack:WindowsServerHPCPack:2012R2:4.5.5159", | |
"version": "4.5.5159" | |
}, | |
{ | |
"offer": "WindowsServerHPCPack", |
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
[ | |
{ | |
"offer": "WindowsServer", | |
"publisher": "MicrosoftWindowsServer", | |
"sku": "2008-R2-SP1-smalldisk", | |
"urn": "MicrosoftWindowsServer:WindowsServer:2008-R2-SP1-smalldisk:2.127.20180613", | |
"version": "2.127.20180613" | |
}, | |
{ | |
"offer": "WindowsServer", |
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
for ($i = 0; $i -lt 100; $i++) { | |
Write-output @" | |
{ | |
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/front-door/providers/Microsoft.Network/Frontdoors/xxxxxxxxxxxxxxxxxxxxx/RoutingRules/$(([string]$i).padleft(5,"0"))", | |
"name": "$(([string]$i).padleft(5,"0"))", | |
"properties": { | |
"acceptedProtocols": [ | |
"Http", | |
"Https" |
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
javascript: var regexp = /((azure|docs)\.microsoft\.com)\/(en-us|ja-jp)\//; if (location.href.match(regexp)) { if (RegExp.$3 === "en-us") { lang = "/ja-jp/"; } else if (RegExp.$3 === "ja-jp") { lang = "/en-us/"; } location.href = location.href.replace(regexp, function () { return arguments[1] + lang }); } |
OlderNewer