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
65536 1 |
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
type SolverInit.txt | SolverMapper.exe | SolverReducer.exe |
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
type SolverInit.txt |^ | |
SolverMapper.exe | sort | SolverReducer.exe |^ | |
SolverMapper.exe | sort | SolverReducer.exe |^ | |
SolverMapper.exe | sort | SolverReducer.exe |^ | |
SolverMapper.exe | sort | SolverReducer.exe |^ | |
SolverMapper.exe | sort | SolverReducer.exe |^ | |
SolverMapper.exe | sort | SolverReducer.exe |^ | |
SolverMapper.exe | sort | SolverReducer.exe |^ | |
SolverMapper.exe | sort | SolverReducer.exe |^ | |
SolverMapper.exe | sort | SolverReducer.exe |^ |
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
@powershell.exe -NoProfile -InputFormat none -ExecutionPolicy unrestricted -File %~dp0Solve.ps1 |
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
# Get Azure publish settings file using this command: | |
Get-AzurePublishSettingsFile |
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
$startTime = Get-Date | |
Function Log ($message) { | |
$currentTime = Get-Date | |
$currentDelta = ($currentTime - $startTime).ToString("hh\:mm\:ss") | |
Write-Output "${currentDelta}: $message" | |
} | |
# Variables for setting up the Azure: | |
$subscriptionName = "Visual Studio Professional with MSDN" |
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
6442450943 10215411760019992 OQDPKIPD2PUWGUXVZXUWMKXJJLP2AIHJ1M5W7Y6XR4WYMK4RJLCKSQBJQELJJB | |
8589410303 10215411760019992 EQHJAIPDNPQOSQ4R1YR4CA7YXZ2PAIJHM1LJ1YQEFD6XYWGIP25WDPP2UW2PPN | |
8589869055 40861647040079968 SQ4RWYR47YZXUWFRMKXV5WJL1M6XMKP2HJGUAIUW2PPDRFCKKIQ3DPOQBJJX3Q | |
8589926399 10215411760019992 OQDPGIUGWU5WXVZX7YXZ1YR4JHGIFRMKRFTRCKRFPDACCKDF6XUWFRQSWY4RRT | |
8589934589 10215411760019992 SQ4RWYR47YZXUWFRMKXV5WJL1M6XMKP2HJGUAIUW2PPDRFCKKIQ3DPOQBJJXX6 |
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
$spn = (Get-AzureRmADServicePrincipal -SearchString "yourspnname")[0] | |
$spn.ApplicationId |
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
Write-Host Creating resource group... | |
New-AzureRmResourceGroup -Name $ResourceGroupName -Location $Location -Verbose | |
Write-Host Creating key vault... | |
New-AzureRmKeyVault ` | |
-VaultName $VaultName ` | |
-EnabledForDeployment ` | |
-EnabledForTemplateDeployment ` | |
-ResourceGroupName $ResourceGroupName ` | |
-Location $Location -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
$me = Get-AzureRmADUser -SearchString "your name" | |
Set-AzureRmKeyVaultAccessPolicy ` | |
-VaultName $VaultName ` | |
-ResourceGroupName $ResourceGroupName ` | |
-UserPrincipalName $me.UserPrincipalName ` | |
-PermissionsToKeys all ` | |
-PermissionsToSecrets all |
OlderNewer