A wrapper for Citrix Cloud CVAD API. You do not require the installed SDK anymore. With this module you can manage your clients cloud infrastructure from anywhere. Start with the Connect-CTXAPI function to connect, it will create the needed headers for the other functions.
- Install from PowerShell Gallery PS Gallery
Install-Module -Name CTXCloudApi -Verbose
- or run this script to install from GitHub GitHub Repo
$CurrentLocation = Get-Item .
$ModuleDestination = (Join-Path (Get-Item (Join-Path (Get-Item $profile).Directory 'Modules')).FullName -ChildPath CTXCloudApi)
git clone --depth 1 https://github.com/smitpi/CTXCloudApi $ModuleDestination 2>&1 | Write-Host -ForegroundColor Yellow
Set-Location $ModuleDestination
git filter-branch --prune-empty --subdirectory-filter Output HEAD 2>&1 | Write-Host -ForegroundColor Yellow
Set-Location $CurrentLocation
- Then import the module into your session
Import-Module CTXCloudApi -Verbose -Force
- or run these commands for more help and details.
Get-Command -Module CTXCloudApi
Get-Help about_CTXCloudApi
Documentation can be found at: Github_Pages
Add-CTXAPI_DefaultsToProfile
-- This function will add connection settings to PSDefaultParameter and your profile.Connect-CTXAPI
-- Connect to the cloud and create needed api headersGet-CTXAPI_Application
-- Return details about published appsGet-CTXAPI_CloudConnector
-- Details about current Cloud ConnectorsGet-CTXAPI_CloudService
-- Return details about cloud services and subscriptionGet-CTXAPI_ConfigAudit
-- Reports on system config.Get-CTXAPI_ConfigLog
-- Get high level configuration changes in the last x days.Get-CTXAPI_ConnectionReport
-- Creates Connection reportGet-CTXAPI_DeliveryGroup
-- Return details about Delivery GroupsGet-CTXAPI_FailureReport
-- Reports on failures in the last x hours.Get-CTXAPI_HealthCheck
-- Show useful information for daily health checkGet-CTXAPI_Hypervisor
-- Return details about hosting (hypervisor)Get-CTXAPI_LowLevelOperation
-- Return details about low lever config change (More detailed)Get-CTXAPI_Machine
-- Return details about vda machinesGet-CTXAPI_MachineCatalog
-- Return details about machine CatalogsGet-CTXAPI_MonitorData
-- Collect Monitoring OData for other reportsGet-CTXAPI_ResourceLocation
-- Get cloud Resource LocationsGet-CTXAPI_ResourceUtilization
-- Resource utilization in the last x hoursGet-CTXAPI_Session
-- Return details about current sessionsGet-CTXAPI_SiteDetail
-- Return details about your farm / siteGet-CTXAPI_Test
-- Run Built in Citrix cloud testsGet-CTXAPI_VDAUptime
-- Uses Registration date to calculate uptimeGet-CTXAPI_Zone
-- Get zone detailsSet-CTXAPI_ReportColour
-- Set the colour and logo for HTML ReportsTest-CTXAPI_Header
-- Checks that the connection is still valid, and the token hasn't expired.