Set-ProvVMBackupLimit
Sets the limit for number of user-visible backups.
Syntax
Set-ProvVMBackupLimit
-ProvisioningSchemeUid <Guid>
-BackupLimit <Int32>
[-LoggingId <Guid>]
[<CitrixCommonParameters>]
[<CommonParameters>]
Description
Caps the number of the user-visible backups allowed per machine in a provisioning scheme. Zero is interpreted as no limit. If this limit is met or exceeded, no new user-visible backups can be made.
Examples
EXAMPLE 1
Set the backup limit for provisioning scheme uid 378cece5-a824-41f7-9e92-74be76672be6 to 5.
Set-ProvVMBackupLimit -ProvisioningSchemeUid 378cece5-a824-41f7-9e92-74be76672be6 -BackupLimit 5
Parameters
-ProvisioningSchemeUid
The unique identifier for the provisioning scheme the Backup is a part of
| Type: | Guid |
| Position: | Named |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-BackupLimit
The number of user-visible backups allowed for a given machine in a provisioning scheme
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-LoggingId
Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.
| Type: | Guid |
| Position: | Named |
| Default value: | None |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
CitrixCommonParameters
This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None
You can't pipe objects to this cmdlet.
Outputs
None
By default, this cmdlet returns no output.