Kaffeeundcode

Script Library

Script Trusted

Get AzLoadBalancerEmptyPools

## Skript Beschreibung **Zusammenfassung**: Identifies Load Balancers that have no backend pool members defined. An empty Load Balancer incurs costs (Standard SKU) and adds complexity.…
Feb. 2026 PS1
Script Trusted

Get AzRecoveryServicesVaultStorage

## Skript Beschreibung **Zusammenfassung**: Reports the storage usage of Recovery Services Vaults (Backups). Azure Backup storage costs can grow silently. This script retrieves the vault…
Feb. 2026 PS1
Script Trusted

Get AzSubscriptionPolicyExemptions

## Skript Beschreibung **Zusammenfassung**: Lists all Azure Policy Exemptions in the subscription. Exemptions act as "Get out of jail free" cards for compliance. This script…
Feb. 2026 PS1
Script Trusted

Get AzVMPublicIPInsecurePorts

## Skript Beschreibung **Zusammenfassung**: Scans VMs with Public IPs for open management ports (RDP/SSH) to the internet. Iterates all VMs with Public IPs. Checks the…
Feb. 2026 PS1
Script Trusted

Get AzAppServicePlanDensity

## Skript Beschreibung **Zusammenfassung**: Calculates the density of App Services running per App Service Plan. App Service Plans (ASP) are the billing unit. If you…
Feb. 2026 PS1
Script Trusted

Get AzResourceChangeHistory

## Skript Beschreibung **Zusammenfassung**: Summarizes "Who changed what" in the last 24 hours via Activity Log. Filters Azure Activity Log for 'Write', 'Delete', or 'Action'…
Feb. 2026 PS1
Script Trusted

Get AzKeyVaultSecretVersionHistory

## Skript Beschreibung **Zusammenfassung**: Audits the number of past versions for Key Vault Secrets. Excessive versions of secrets can clutter the vault. This script iterates…
Feb. 2026 PS1
Script Trusted

Get AzNetworkOrphanedNSGs

## Skript Beschreibung **Zusammenfassung**: Identifies Network Security Groups (NSGs) that are not associated with any Subnet or Network Interface. Orphaned NSGs clutter the environment and…
Feb. 2026 PS1
Script Trusted

Get AzStorageAccountLifecyclePolicy

## Skript Beschreibung **Zusammenfassung**: Audits Storage Accounts to check if they have a Lifecycle Management Policy. Lifecycle rules allow automatic tiering (Cool/Archive) or deletion of…
Feb. 2026 PS1
Script Trusted

Get AzVMHybridUseBenefitCandidate

## Skript Beschreibung **Zusammenfassung**: Identifies Windows VMs that are NOT using the Azure Hybrid Benefit (AHB). Running Windows Server in Azure is cheaper if you…
Feb. 2026 PS1