Remove-RASFSLogixVHDLocation

NAME

Remove-RASFSLogixVHDLocation

SYNOPSIS

Removes a VHDLocation from a VHDLocation List of the Profile Container.

SYNTAX

Remove-RASFSLogixVHDLocation [-Name] <string> -ObjType <ServerObjType> {RDS | VDITemplate | RDSGroup} -ProfileContainer <SwitchParameter> -VHDLocation <string> [-SiteId <uint>] [<CommonParameters>]

Remove-RASFSLogixVHDLocation [-Id] <uint> -ObjType <ServerObjType> {RDS | VDITemplate | RDSGroup} -ProfileContainer <SwitchParameter> -VHDLocation <string> [-SiteId <uint>] [<CommonParameters>]

Remove-RASFSLogixVHDLocation [-ProviderId] <uint> [-VDIGuestId] <string> -ProfileContainer <SwitchParameter> -VHDLocation <string> [-SiteId <uint>] [<CommonParameters>]

Remove-RASFSLogixVHDLocation [-InputObject] <RASSerilazableObj> -ProfileContainer <SwitchParameter> -VHDLocation <string> [-SiteId <uint>] [<CommonParameters>]

Remove-RASFSLogixVHDLocation -DefObjType <ServerDefObjType> {RDSDef | VDIGuestDef} -ProfileContainer <SwitchParameter> -VHDLocation <string> [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Removes a VHDLocation from a VHDLocation List of the Profile Container within the FSLogix settings of RDSH, RDSGroup, RDSDefaults, VDIGuest, VDITemplate or VDIGuestDefaults.

PARAMETERS


-VHDLocation <string>
Specifies the 'VHDLocation' path to remove from the VHDLocation List.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string>
The name or server for which to modify the FSLogix settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint>
Site ID from which to modify the FSLogix settings.

If the parameter is omitted, the Licensing Server site ID will be used.

        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <uint>
The ID of a server for which to modify the FSLogix settings.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ProviderId <uint>
The ID of a Provider server from which to modify the FSLogix settings of a VDIGuest.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-VDIGuestId <string>
The ID of a VDI Guest for which to modify the FSLogix settings.

        Required?                    true
        Position?                    1
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <RASSerilazableObj>
The ID of a server for which to modify the FSLogix settings.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ObjType <ServerObjType>
The Object Type for which to modify the FSLogix settings.

Possible values: RDS, VDITemplate, RDSGroup

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefObjType <ServerDefObjType>
The Default Object Type for which to modify the FSLogix settings.

Possible values: RDSDef, VDIGuestDef

        Required?                    true
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ProfileContainer <SwitchParameter>
Set the Profile Container settings.

        Required?                    true
        Position?                    named
        Default value                False
        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 documentation. 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES


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

Remove-RASFSLogixVHDLocation -DefObjType RDSDef -ContainerType Profile -VHDLocation "type=smb,connectionString=Location1"

Removes a VHDLocation from the VHDLocation List of the Profile Container within the FSLogix Settings of the RDS Default Settings.

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

Remove-RASFSLogixVHDLocation -Name "RDSGroup1" -ObjType RDSGroup -ContainerType Profile -VHDLocation "C:/Test2"

Removes a VHDLocation from the VHDLocation List of the Profile Container within the FSLogix Settings of the specified RDSGroup by Name.

RELATED LINKS