This file contains hidden or 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( | |
[Parameter(Mandatory = $true)] $imagePathArray, | |
[Parameter(Mandatory = $true)] $emailFrom, | |
[Parameter(Mandatory = $true)] $emailSubject, | |
[Parameter(Mandatory = $true)] $smtpServer, | |
[Parameter(Mandatory = $true)] $SendTo, | |
$emailBodyTitle=$emailSubject | |
) | |
if (!($imagePathArray.Gettype().BaseType.Name -eq "Array")) { | |
Write-Host "ImagePathArray must be of type Array" |
This file contains hidden or 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
#Set Environment Variables for Azure RM Terraform | |
$ENV:ARM_SUBSCRIPTION_ID = "" | |
$ENV:ARM_CLIENT_ID = "" | |
$ENV:ARM_CLIENT_SECRET = "" # This should end with an '=' symbol | |
$ENV:ARM_TENANT_ID = "" |
NewerOlder