SR cmdlets

Last published : Nov 12, 2026
A storage repository.
The XenServer PowerShell module provides the following cmdlets for working with SR objects. For the fields and calls of the class itself, see Class: SR in the Management API reference.
Cmdlet Description
Add-XenSR Adds to fields of an SR object.
Get-XenSR Gets the SR objects in the pool.
Get-XenSRProperty Gets a property of an SR object.
Invoke-XenSR Invokes an operation on an SR object.
New-XenSR Creates a new SR object.
Remove-XenSR Deletes an SR object.
Remove-XenSRProperty Removes values from fields of an SR object.
Set-XenSR Sets fields of an SR object.