Prerequisites: Node.js 22+ and npm 10+.
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 = "<subscription-id>" | |
| Connect-AzAccount | |
| Set-AzContext -SubscriptionId $subscriptionId | |
| # Get all Arc SQL resources | |
| $sqlServers = Get-AzResource ` | |
| -ResourceType "Microsoft.AzureArcData/sqlServerInstances" | |
| foreach ($sql in $sqlServers) { |
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( | |
| [ValidateSet("LocalMachine","CurrentUser")] | |
| [string]$StoreLocation = "LocalMachine", | |
| [string]$StoreName = "Root", | |
| [string]$SummaryExportPath = ".\TrustedRootCertificates_Summary.csv", | |
| [string]$UrlDetailExportPath = ".\TrustedRootCertificates_UrlValidation.csv", |
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
| # Lines 32-44 we will change to be parameters for the script - so multiple copies don't have to be maintained. | |
| # Not all these values need to be exposed e.g. proxy, tenant, auth_type should remain the same. | |
| # Line 66 calls out to "https://gbl.his.arc.azure.com/azcmagent-windows" which is the script to download and install the agent. | |
| # This script verifies a whole heap of pre-requisites on the server. | |
| # The agent installer comes from "https://gbl.his.arc.azure.com/azcmagent/latest/AzureConnectedMachineAgent.msi" | |
| # Once agent installation is complete it returns to this script and runs the "azcmagent connect" command to connect to Azure. | |
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
| https://dsctstawqdmo01x.blob.core.windows.net/iac-labs/Iac-Labs.zip?sp=r&st=2025-07-31T01:14:21Z&se=2025-08-06T09:29:21Z&skoid=daed4a0e-53b5-4c8a-a106-e32643cbe4a4&sktid=ab9330c6-7920-437d-9ff9-c6f2e3814689&skt=2025-07-31T01:14:21Z&ske=2025-08-06T09:29:21Z&sks=b&skv=2024-11-04&spr=https&sv=2024-11-04&sr=b&sig=rYf0%2BPlSj4KEIlAKunBY77RhJpVBUaWNJfFCeVb%2Bxu0%3D |
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
| https://imgaa1caue001.blob.core.windows.net/avs-hcx/VMware-HCX-Connector-4.10.3.0-24447631.ova?sp=r&st=2025-05-29T04:33:35Z&se=2025-06-04T12:33:35Z&skoid=daed4a0e-53b5-4c8a-a106-e32643cbe4a4&sktid=ab9330c6-7920-437d-9ff9-c6f2e3814689&skt=2025-05-29T04:33:35Z&ske=2025-06-04T12:33:35Z&sks=b&skv=2024-11-04&spr=https&sv=2024-11-04&sr=b&sig=7PZPcxnCIKQKU0VVapi13tWD%2F3AswKA6SwV9d6Z4cz0%3D |
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
| { | |
| "version": "Notebook/1.0", | |
| "items": [ | |
| { | |
| "type": 1, | |
| "content": { | |
| "json": "# Azure Virtual Machine Sku Optimisation #\r\n\r\n## Instructions for Use\r\n- Final panel does not show all fields - export to CSV to get everything including Sku recommendations\r\n\r\n## Caveats ##\r\n- No spot VM pricing\r\n- AUD only\r\n- No dedicated host\r\n- No ms|ls pricing or recommendations" | |
| }, | |
| "name": "text - 4" | |
| }, |
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
| { | |
| "version": "Notebook/1.0", | |
| "items": [ | |
| { | |
| "type": 1, | |
| "content": { | |
| "json": "# Virtual Machine Availability State" | |
| }, | |
| "name": "text - 1" | |
| }, |
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
| function Get-EntraBitLockerKeys { | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory = $false, HelpMessage = "Device name to retrieve the BitLocker keys from Microsoft Entra ID", ValueFromPipeline = $true)] | |
| [string]$DeviceName | |
| [Parameter(Mandatory = $false, HelpMessage = "Device Id to retrieve the BitLocker keys from Microsoft Entra ID", ValueFromPipeline = $true)] | |
| [string]$DeviceId | |
| ) | |
| Process { |
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
| { | |
| "version": "Notebook/1.0", | |
| "items": [ | |
| { | |
| "type": 1, | |
| "content": { | |
| "json": "# Policy Compliance Reporting\r\n" | |
| }, | |
| "name": "text - 3" | |
| }, |
NewerOlder