maxwellb / cloudshell-tools

Scripts I tend to keep around in my Azure Cloudshell environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cloudshell-tools

Scripts I tend to keep around in my Azure Cloudshell environment.

Getting Started

This is a collection of scripts meant to be run in an Azure Cloud Shell environment. There will be some scripts for bash, and some for PowerShell.

To start, this is a collection of my personal tools. If you find some scripts more useful than others or have suggestions, please feel free to open an issue.

Repository Structure

All files are meant as examples of things you could append to ~/.bashrc.

  • Files are roughly organized by the frequency I use them or that I think they might be more generally useful.
  • Example: 01-add-homelocalbin-to-path is something I find extremely helpful and would not want to use Cloud Shell without.
  • Also: 90-autoload-nvm is maybe fairly useful, but kind of niche, depends on some prior setup, and also expensive to load.
  • Where one script might depend on the prior run of another, I order them but don't make any structure to ensure dependencies. Hopefully it's fairly evident though.

Self-contained scripts that are more complicated than an alias, but useful enough that I've found myself using them frequently. Here's a short list of examples.

Check the vCPU usage quota in your subscription for a region (default set in script) for a CPU family.

Example

cpu-usage-for-type D "Central US"

Reports the usage and quota for all D, DS, Dv2, DSv2, Dv3, Dsv3 sized vCPUs in the "Central US" region

Copying

Please refer to the license file for details. If a file does not have a copying or usage guideline in the file, the LICENSE file in the root of this repository should be assumed to apply.

maxwellb/cloudshell-tools Tools for use with Azure Cloud Shell. Copyright (C) 2019 Maxwell Bloch

About

Scripts I tend to keep around in my Azure Cloudshell environment.

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%