< Back
Set-vRAService
Post
NAME Set-vRAService
SYNOPSIS
Set a vRA Service
SYNTAX
Set-vRAService [-Id] <String> [[-Name] <String>] [[-Description] <String>] [[-Status] <String>] [[-Owner]
<String>] [[-SupportTeam] <String>] [[-IconId] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set a vRA Service
Currently unsupported interactive actions:
* HoursStartTime
* HoursEndTime
* ChangeWindowDayOfWeek
* ChangeWindowStartTime
* ChangeWindowEndTime
PARAMETERS
-Id <String>
The id of the service
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Name <String>
The name of the service
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
A description of the service
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Status <String>
The status of the service
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Owner <String>
The owner of the service
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SupportTeam <String>
The support team of the service
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-IconId <String>
The Icon Id of the service. This must already exist in the Service Catalog. Typically it would have already
been created via Import-vRAServiceIcon
Required? false
Position? 7
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
System.Management.Automation.PSObject
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-vRAService -Name "Default" | Set-vRAService -Owner user@vsphere.local
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1"
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1" -Description "updated from posh"
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1" -Description "updated from posh"
-Owner "user@vsphere.local"
-------------------------- EXAMPLE 5 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1" -Description "updated from posh"
-Owner "user@vsphere.local" -SupportTeam "support@vsphere.local"
-------------------------- EXAMPLE 6 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1" -Description "updated from posh"
-Owner "user@vsphere.local" -SupportTeam "support@vsphere.local" -Status INACTIVE
-------------------------- EXAMPLE 7 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1" -Description "updated from posh"
-Owner "user@vsphere.local" -SupportTeam "support@vsphere.local" -Status INACTIVE -IconId "cafe_icon_Service01"
RELATED LINKS
SYNOPSIS
Set a vRA Service
SYNTAX
Set-vRAService [-Id] <String> [[-Name] <String>] [[-Description] <String>] [[-Status] <String>] [[-Owner]
<String>] [[-SupportTeam] <String>] [[-IconId] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set a vRA Service
Currently unsupported interactive actions:
* HoursStartTime
* HoursEndTime
* ChangeWindowDayOfWeek
* ChangeWindowStartTime
* ChangeWindowEndTime
PARAMETERS
-Id <String>
The id of the service
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Name <String>
The name of the service
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
A description of the service
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Status <String>
The status of the service
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Owner <String>
The owner of the service
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SupportTeam <String>
The support team of the service
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-IconId <String>
The Icon Id of the service. This must already exist in the Service Catalog. Typically it would have already
been created via Import-vRAServiceIcon
Required? false
Position? 7
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
System.Management.Automation.PSObject
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-vRAService -Name "Default" | Set-vRAService -Owner user@vsphere.local
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1"
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1" -Description "updated from posh"
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1" -Description "updated from posh"
-Owner "user@vsphere.local"
-------------------------- EXAMPLE 5 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1" -Description "updated from posh"
-Owner "user@vsphere.local" -SupportTeam "support@vsphere.local"
-------------------------- EXAMPLE 6 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1" -Description "updated from posh"
-Owner "user@vsphere.local" -SupportTeam "support@vsphere.local" -Status INACTIVE
-------------------------- EXAMPLE 7 --------------------------
PS C:\\>Set-vRAService -Id 25c0f3db-5906-4d42-8633-7b05f695432c -Name "Default 1" -Description "updated from posh"
-Owner "user@vsphere.local" -SupportTeam "support@vsphere.local" -Status INACTIVE -IconId "cafe_icon_Service01"
RELATED LINKS