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
workflow Azure-AD-Test | |
{ | |
# Get required variables | |
$cred = Get-AutomationPSCredential -Name 'Automation Account' | |
$subName = Get-AutomationVariable -Name 'Subscription Name' | |
$vmCred = Get-AutomationPSCredential -Name 'VM Account' | |
#perform authentication | |
Add-AzureAccount -Credential $cred | |
Select-AzureSubscription -SubscriptionName $subName |
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
workflow ScriptName | |
{ | |
} |
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
workflow Create-Folder | |
{ | |
param ( | |
[parameter(Mandatory=$true)] | |
[PSCredential] | |
$VMCredential, | |
[parameter(Mandatory=$true)] | |
[Uri] | |
$VMUri, |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<# | |
.SYNOPSIS | |
This script will update a defined list of BizTalk Application's tracking settings to be enabled or disabled for all Orchestrations, Send/ReceivePorts, Pipelines and Schemas. | |
.DESCRIPTION | |
This script is based on one originally created by Sandro Pereira which was obtained from here: | |
http://sandroaspbiztalkblog.wordpress.com/2014/11/03/biztalk-devops-how-to-take-control-of-your-environment-disable-tracking-settings-in-biztalk-server-environment/ | |
I have extended it to update tracking settings to be enabled or disabled for a definable list of matching BizTalk applications. | |
.PARAMETER NameLike | |
The optional Parameter that provides a LIKE clause for the BizTalk application Name. If ommitted, then all BizTalk applications will have their tracking updated. |
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
param ( [string] | |
[ValidateSet("Confluence", "Jira")] | |
$Application, | |
[string] | |
$DumpFolder = "N:\temp" | |
) | |
$currentDate = Get-Date |
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
Param ([string]$RootLocalTFSPath) | |
# Check the path | |
if (!(Test-Path $RootLocalTFSPath)) | |
{ | |
Write-Host "Unable to find directory '$RootLocalTFSPath'. Please check parameter and try again." -f Red | |
return | |
} | |
# load all Deployment.btdfproj files in the main folder |
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
</ConfigOverrides> | |
<Policies> | |
<RunAsPolicy CodePackageRef="Code" UserRef="ServiceAccount" EntryPointType="All" /> | |
<EndpointBindingPolicy EndpointRef="ServiceHttpsEndpoint" CertificateRef="EndpointCert" /> | |
</Policies> | |
</ServiceManifestImport> |