< Back

Remove-vRAService

Sat Jan 18, 2020 10:05 pm

NAME Remove-vRAService



SYNOPSIS

Remove a vRA Service





SYNTAX

Remove-vRAService [-Id] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Remove a vRA Service





PARAMETERS

-Id <String[]>

The id of the service



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

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:\\>Remove-vRAService -Id "d00d3631-997c-40f7-90e8-7ccbc153c20c"













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



PS C:\\>Get-vRAService -Id "d00d3631-997c-40f7-90e8-7ccbc153c20c" | Remove-vRAService













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



PS C:\\>Get-vRAService | Where-Object {$_.name -ne "Default Service"} | Remove-vRAService















RELATED LINKS