< Back

Invoke-DeviceManagement_ManagedDevices_DeleteUserFromSharedAppleDevice

Sat Jan 18, 2020 12:05 pm

NAME Invoke-DeviceManagement_ManagedDevices_DeleteUserFromSharedAppleDevice



SYNOPSIS





SYNTAX

Invoke-DeviceManagement_ManagedDevices_DeleteUserFromSharedAppleDevice -managedDeviceId <string>

[-userPrincipalName <string>] [<CommonParameters>]





DESCRIPTION

The action "microsoft.graph.deleteUserFromSharedAppleDevice", which exists on the type

"microsoft.graph.managedDevice".



This action does not return any objects.



Graph Call: POST ~/deviceManagement/managedDevices/deleteUserFromSharedAppleDevice





PARAMETERS

-userPrincipalName <string>

The "userPrincipalName" action parameter of type "Edm.String".



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-managedDeviceId <string>

The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

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

The "userPrincipalName" action parameter of type "Edm.String".



System.String

The ID for a "microsoft.graph.managedDevice" object in the "managedDevices" collection.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK