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
<?xml version="1.0" encoding="utf-8"?> | |
<bpr:release xmlns:bpr="http://www.blueprism.co.uk/product/release"> | |
<bpr:name>BPRelease v3</bpr:name> | |
<bpr:release-notes> | |
</bpr:release-notes> | |
<bpr:created>2018-03-31 04:20:16Z</bpr:created> | |
<bpr:package-id>4</bpr:package-id> | |
<bpr:package-name>BPRelease_Info Troubleshooting</bpr:package-name> | |
<bpr:user-created-by>admin</bpr:user-created-by> | |
<bpr:contents count="2"> |
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
$blah = get-childitem -Path c:\temp -Directory | |
$AddedTicks = Measure-Command -Expression { | |
$AddedToArray = @() | |
foreach ($b in $blah) { | |
$myOBJ = New-Object System.Object | |
$myOBJ | Add-Member -Type NoteProperty -Name IsBlah -Value $b.BaseName | |
$AddedToArray += $myOBJ | |
} | |
} | Select-Object Ticks |
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
$pathKey = 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' | |
$tfFilename = 'terraform_1.1.5_windows_amd64.zip' | |
$tfURL = "https://releases.hashicorp.com/terraform/1.1.5/$tfFilename" | |
$tfPath = 'C:\tf' | |
Invoke-WebRequest $tfURL -UseBasicParsing -OutFile $tfFilename | |
Expand-Archive ".\$tfFilename" -DestinationPath $tfPath -Force | |
$oldpath = (Get-ItemProperty -Path $pathKey -Name PATH).path |
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
#!/usr/bin/env bash | |
# pilfered from a MSFT AKS tutorial and tweaked | |
if [ "$#" -ne 2 ]; then | |
echo "Will export env variables that end with <search_string>" | |
echo "Usage: $0 <search_string> <output_filename>" | |
exit 1 | |
fi |
OlderNewer