OpenStack PowerShell module
This is a PowerShell module to manage OpenStack directly via OpenStack API.
For more information about the examples, roadmap, changelog, known issues, development guides, ... see the wiki.
Installation
Download the zip file and extract it to one of your desired PowerShell module paths (Installing a PowerShell Module).
see the available PowerShell module paths $Env:PSModulePath -split ';'
Import the Module
Import-Module OpenStack
Get-Command -Module OpenStack
Authenticate
Connect to the OpenStack API and get authentication token, this is required before using any command in this module.
Connect-OSAccount -Credential (Get-Credential) -Project '<Project>' -AuthenticationUri 'http://<IP>:<Port>/v3/auth/tokens'
Examples
get all server
Get-OSServer
get server by ID
Get-OSServer -ID ce847820-4d6b-47f0-b0e5-486457fe1044
search server by name (wildcard possible)
Get-OSServer -Name "<Name>"
You can find more examples here.