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
| $subscriptionId = "xxx" | |
| $resourceGroup = "xxx" | |
| $azfwPolicyName = "xxx" | |
| function GetIpGroupName { | |
| param ( [string] $resourceId ) | |
| $resourceSubscriptionId = (Get-AzResource -ResourceId $resourceId).SubscriptionId | |
| $context = Get-AzContext |
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
| <# description: Post install actions | |
| by: Ivo Beerens | |
| version: 1.0 creation | |
| #> | |
| Set-ExecutionPolicy Bypass -Scope Process -Force | |
| # Variables | |
| $powerManagement = "8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c" | |
| $tempFolder = "C:\Temp" |
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 ( | |
| [string] | |
| $FolderPath = ".\", | |
| [int] | |
| $columnIndex = 40 | |
| ) | |
| Write-Host "Running terraform format..." | |
| & terraform fmt -recursive $FolderPath | |
| Write-Host "Done" -ForegroundColor Yellow |