Skip to content

A PowerShell Client for the Apache CloudStack / Citrix CloudPlatform API

License

Notifications You must be signed in to change notification settings

ninja-2/CloudStack-PowerShell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudStack-PowerShell

A PowerShell Module for the Apache CloudStack / Citrix CloudPlatform API

This module provides Cmdlets for:

	New-CloudStack
	Get-CloudStack
	Import-CloudStackConfig

To install the module correctly, run the following in PowerShell:

	$PSModulePath = $Env:PSModulePath -split ";" | Select -Index ([int][bool]$Global)
	mkdir $PSModulePath\CloudStackClient
	Copy-Item .\CloudStackClient.psm1 $PSModulePath\CloudStackClient\CloudStackClient.psm1

Once the module is installed, it can be loaded via Import-Module CloudStackClient

The CloudStackListVirtualMachines, CloudStackListZones, CloudStackSnapshotVolume, and CloudStackSnapshotHistoryManager scripts shoud give you an idea of how to interact with the Module.

Now, you can get a securitygroup by name (just precise the parameter name when you call CloudStackListSecurityGroups).

	.\CloudStackListSecurityGroups.ps1 -name $securityGroupName

Create a securityGroup is possible with CloudStackCreateSecurityGroups

	.\CloudStackCreateSecurityGroups.ps1 -name name [-description description]

About

A PowerShell Client for the Apache CloudStack / Citrix CloudPlatform API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%