Write-Host -ForegroundColor Red "$($Pools.$Pool) is slave, Master was identified as $PoolMaster, trying to connect" $PoolMaster = $_.Exception.ErrorDescription $Session = Connect-XenServer -Url -UserName $username -Password $password -NoWarnCertificates -SetDefaultSession To install the PowerShell SDK you need to copy the PowerShell Module folder from the zip to $env:windir\system32\WindowsPowerShell\v1.0\Modules To enable the module use the following command: Import-Module XenServerPSModuleĬonnect to XenServer PowerShell: $Xenhost = "YourXenHost" ![]() To get PowerShell working with Citrix XenServer you need to download and install the XenServer SDK from here under the Development Components section This blog will include those command lines and the PowerShell commands. But it also has its own command lines starting with XE. Because as always AUTOMATE EVERYTHING! Citrix XenServer is Linux based so in the command line you can use Linux commands like ls-l or mount. ![]() ![]() A few weeks ago I wrote a blog about scripting Citrix PVS. In this blog I will show the most popular commands for Citrix XenServer so that you can use them in your Automation Workflow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |