< Back

Add-vRAReservationStorage

Sat Jan 18, 2020 9:54 pm

NAME Add-vRAReservationStorage



SYNOPSIS

Add storage to an existing vRA reservation





SYNTAX

Add-vRAReservationStorage [-Id] <String> [-Path] <String> [-ReservedSizeGB] <Int32> [[-Priority] <Int32>]

[-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

This cmdlet enables the user to add new storage to a reservation. Only one new storage path can be added at a time.

If a duplicate storage path is detected, the API will throw an error.





PARAMETERS

-Id <String>

The Id of the reservation



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Path <String>

The storage path



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ReservedSizeGB <Int32>

The size in GB of this reservation



Required? true

Position? 3

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Priority <Int32>

The priority of storage



Required? false

Position? 4

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String.

System.Int.





OUTPUTS

System.Management.Automation.PSObject





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-vRAReservation -Name Reservation01 | Add-vRAReservationStorage -Path "Datastore01" -ReservedSizeGB 500

-Priority 1















RELATED LINKS