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
// ----------------------------------------------------------------------------- | |
// Azure RG Smart Janitor - Enhanced Cleanup Tool | |
// Run with: dotnet run smart-cleanup.cs | |
// Targets: .NET 10 Preview 4+ | |
// ----------------------------------------------------------------------------- | |
#:package Azure.Identity@1.* | |
#:package Azure.ResourceManager@1.* | |
#:package Azure.ResourceManager.Compute@1.* | |
#:package Azure.ResourceManager.Storage@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
#As described here: http://boxstarter.org/Learn/WebLauncher | |
#The command to run, built from the raw link of this gist | |
#START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/kfrancis/c6351a39b60b4d6c357679a57f626710/raw/9ff85d80e76685203b66e81b2c6c746f485bbfdd/Win10Daily_BoxSetup.txt | |
Write-BoxstarterMessage "Setting Execution Policy to Unrestricted and Disabling UAC" | |
Update-ExecutionPolicy Unrestricted | |
Disable-UAC | |
Restart-Computer |
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
<# | |
The command to run, built from the raw link of this gist | |
Win+R | |
iexplore http://boxstarter.org/package/url?<RAW GIST LINK> | |
OR (if you don't like the way the web launcher force re-installs everything) |