< Back

Set-vRAReservationNetwork

Sat Jan 18, 2020 10:06 pm

NAME Set-vRAReservationNetwork



SYNOPSIS

Set vRA reservation network properties





SYNTAX

Set-vRAReservationNetwork [-Id] <String> [-NetworkPath] <String> [[-NetworkProfile] <String>] [-WhatIf] [-Confirm]

[<CommonParameters>]





DESCRIPTION

Set vRA reservation network properties.



This function enables you to:



- Add a new network path to a reservation

- Add a new network path to a reservation and assign a network profile

- Update the network profile of an existing network path



If the network path you supply is already selected in the reservation and no network profile is supplied, no

action will be taken.





PARAMETERS

-Id <String>

The Id of the reservation



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-NetworkPath <String>

The network path



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-NetworkProfile <String>

The network profile



Required? false

Position? 3

Default value

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





OUTPUTS

None





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



PS C:\\>Get-vRAReservation -Name "Reservation01" | Set-vRAReservationNetwork -NetworkPath "VM Network"

-NetworkProfile "Test Profile 1"













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-vRAReservation -Name "Reservation01" | Set-vRAReservationNetwork -NetworkPath "VM Network"

-NetworkProfile "Test Profile 2"













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-vRAReservation -Name "Reservation01" | Set-vRAReservationNetwork -NetworkPath "Test Network"















RELATED LINKS