Skip to content

Latest commit

 

History

History
124 lines (93 loc) · 2.73 KB

Remove-AzureRemoteAppUserDisk.md

File metadata and controls

124 lines (93 loc) · 2.73 KB
external help file ms.assetid online version schema
Microsoft.WindowsAzure.Commands.RemoteApp.dll-Help.xml
A4E9C9A7-7FD2-4FD5-AB35-CFF717607B44
2.0.0

Remove-AzureRemoteAppUserDisk

SYNOPSIS

Removes the user disk of a user from an Azure RemoteApp collection.

[!INCLUDE rdfe-banner]

SYNTAX

Remove-AzureRemoteAppUserDisk [-CollectionName] <String> [-UserUpn] <String> [-Profile <AzureSMProfile>]
 [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Remove-AzureRemoteAppUserDisk cmdlet removes the user disk of a user from an Azure RemoteApp collection.

EXAMPLES

Example 1: Remove a user disk

PS C:\> Remove-AzureRemoteAppUserDisk -CollectionName "Contoso01" -UserUpn "PattiFuller@contoso.com"

This command removes the user disk of a Microsoft Entra user who has the UPN PattiFuller@contoso.com from the collection Contoso01.

PARAMETERS

-CollectionName

Specifies the name of the Azure RemoteApp collection.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type: AzureSMProfile
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UserUpn

Specifies the user principal name (UPN) of the user for whom this cmdlet removes the disk.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Copy-AzureRemoteAppUserDisk