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
TZ="America/New_York" | |
WEBPASSWORD="SuperSecretPassword" | |
DNS1="172.22.2.12#5300" | |
BIND_IP_PIHOLE="172.22.2.53" | |
BIND_IP_DNSCRYPT="172.22.2.12" | |
WEB_HOST="pi.domain.local" | |
WEB_PORT="80" | |
DNSMASQ_LISTENING="all" |
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
<# | |
.SYNOPSIS | |
Deletes Azure Network Interfaces not associated with a VM | |
.DESCRIPTION | |
Iterates through the network interfaces in an Azure subscription | |
And deletes the interfaces not associated with a VM | |
Will log to a file if LogFile parameter is passed | |
.PARAMETER Force | |
Do not ask permission for each interface | |
This will delete all interfaces that are not associated with a VM |
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
<# | |
.SYNOPSIS | |
This script will enumerate through a Storage Account and delete files that are older than x | |
.DESCRIPTION | |
The script requires you to log into your account then automatically pulls your Account Keys. | |
Using the Storage Account Keys, the script searches for files older than the provided date | |
.PARAMETER ResourceGroup | |
Name of the Resource Group that the Storage Account is in - Required | |
.PARAMETER StorageAccount | |
Name of the Storage Account that the Container is in - Required |
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
#requires -version 2 | |
<# | |
.SYNOPSIS | |
This script will enumerate through a Storage Account and delete files that are older than x | |
.DESCRIPTION | |
The script requires you to log into your account then automatically pulls your Account Keys. | |
Using the Storage Account Keys, the script searches for files older than the provided date | |
.PARAMETER SubscriptionName | |
Name of your Azure Subscription - Required | |
.PARAMETER ResourceGroup |