Skip to content

Quick deployment of BGinfo to an Azure IaaS virutal maschine (Extention) with PowerShell

License

Notifications You must be signed in to change notification settings

adminph-de/ps-azure-bginfo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BGInfo Deployment on Azure IaaS

Contributors Forks Stargazers Issues MIT License LinkedIn


Code Snipes

Deply a BGInfo Extension to your virtual machines in Azure.
Bug Report · Request Feature

Content

Documentation

Find a detaild documentation at http://github.code-snipes.de/ps-azure-bginfo

Prerequisites

It is mandatory to have the InstallAzure Module "AZ" module installed.

if ($PSVersionTable.PSEdition -eq 'Desktop' -and (Get-Module -Name AzureRM -ListAvailable)) {
    Write-Warning -Message ('Az module not installed. Having both the AzureRM and ' +
      'Az modules installed at the same time is not supported.')
} else {
    Install-Module -Name Az -AllowClobber -Scope CurrentUser
}

Installation

Clone the git reop to start:

git clone https://github.com/adminph-de/ps-azure-bginfo.git

Usage

Change the JSON file (bginfo.json)

[
    {
       "bginfo": {
           "location": "westeurope",
           "resourcegroup": "myRG",
           "vmname": "myVm"
     }
    }
]

Execute the script

ps-azure-bginfo.ps1

Copy the configuration file to the virtual machine

config.bgi to C:\Packages\Plugins\Microsoft.Compute.BGInfo\2.1\

Output after running:

Code Snipes

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch git checkout -b feature/AmazingFeature
  3. Commit your Changes git commit -m 'Add some AmazingFeature'
  4. Push to the Branch git push origin feature/AmazingFeature
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Project Link: https://github.com/adminph-de/ps-azure-bginfo

Patrick Hayo

N00ky2010

Acknowledgements

Referenzes

About

Quick deployment of BGinfo to an Azure IaaS virutal maschine (Extention) with PowerShell

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%