Skip to content

Instantly share code, notes, and snippets.

View devenes's full-sized avatar
☁️

Enes devenes

☁️
View GitHub Profile
@devenes
devenes / installAzCopy.ps1
Created August 4, 2024 19:59
Installing azcopy and ensuring it is added to the system PATH
$InstallPath = 'C:\AzCopy'
# Cleanup Destination
if (Test-Path $InstallPath) {
Get-ChildItem $InstallPath | Remove-Item -Confirm:$false -Force
}
# Zip Destination
$zip = "$InstallPath\AzCopy.Zip"
#!/bin/bash
# Set the Azure subscription for the script to run
# Example: az account set --subscription <subscription_id>
# Parallel throttle limit - modify this based on your system capability
parallelThrottleLimit=16
logFileName="LogAnalyticsAgentUninstallUtilityScriptLog.log"
inventoryFile="LogAnalyticsAgentExtensionInventory.csv"