Giter Club home page Giter Club logo

azure's Introduction

azuregithub$${\color{blue}Azure \space PowerShell \space Repo}$$

$${\color{green}SCRIPTS}$$

No Script Description
1 Deploy-AzureVm.ps1 Deploy multiple Azure IaaS VM from JSON templates
2 Deploy-AzureVmVhd.ps1 Deploy single Azure IaaS VM from VHD - JSON template
3 New-SecureCred.ps1 Create file that contains encrypted password for Azure VM local admin account. The adminPassword parameter from JSON templates
4 Apply-AzVmPowerStatePolicy.ps1 Start/Stop Azure VM in parallel on schedule based on two VM Tags (PowerOn/PowerOff)

$${\color{green}MODULES}$$

Note

PowerShell 5 or above is required
To check, type the following: $PSVersionTable.PSVersion.Major

  • To install this module, drop the entire Az-Module folder into one of your module directories

  • The default PowerShell module paths are listed in the $env:PSModulePath environment variable

  • To make it look better, split the paths in this manner: $env:PSModulePath -split ';'

  • The default per-user module path is: "$env:HOMEDRIVE$env:HOMEPATH\Documents\WindowsPowerShell\Modules"

  • The default computer-level module path is: "$env:windir\System32\WindowsPowerShell\v1.0\Modules"

  • To use the module, type following command: Import-Module Az-Module -Force -Verbose

  • To see the commands imported, type Get-Command -Module Az-Module

  • For help on each individual cmdlet or function, run Get-Help CmdletName -Full [-Online][-Examples]

Tip

To start using the module functions:

  • Install Microsoft Azure PowerShell module from Microsoft PSGallery by Install-Module Az
  • Connect to your Azure account by Login-AzAccount cmdlet
  • Optionally, select your target subscription by Az-Module\Select-AzSubscription function
No Function Description
1 Select-AzSubscription Interactively select Azure Subscription
2 Select-AzResourceGroup Interactively select Azure ResourceGroup name
3 Select-AzLocation Interactively select Azure Location
4 Select-AzObject Interactively select an Azure object (VM, StorageAccount, VNET, AvailabilitySet)
5 Select-AzChildObject Interactively select an Azure child object (Supports pipeline from the Select-AzObject function)
6 New-AzCredProfile Set your PowerShell session to automatically login to the Azure
7 Get-AzOrphanedVhd Find Azure orphaned *.VHD files
8 Get-AzSubnet Get busy IP in Azure Subnets
9 Get-AzVmPowerState Get Azure VM Power State
10 Get-AzVmTag / Add-AzVmTag Get/Add/Set Azure VM Resource Tag(s)
11 Get-AzVmDisk Get Azure VM Virtual Disks (OSDisk, DataDisk, All)
12 New-AzVmDisk Add a new DataDisk to an Azure VM
13 Expand-AzVmDisk Increase Azure VM disks
14 New-AzParamsJson Create Azure JSON parameter files
15 Copy-AzBlob Copy/Move/Rename blobs
16 Remove-AzObject Delete an Azure object (Supports pipeline from the Select-AzChildObject function)
17 Get-AzVmSize Select right Azure VM Size
18 Set-AzVmSize Resize Azure VM

Stay tuned for the updates!

azure's People

Contributors

rgel avatar skitau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

azure's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.