Remove-MSContactFromModuleItem
Removes a Contact from a linked App,Users,Device etc. Does not remove the Contact from MS.
Syntax
Remove-MSContactFromModuleItem -Module (String) -InstanceId (Int32) -ContactId (Int32)
Remove-MSContactFromModuleItem -Module (String) -InstanceId (Int32) -ContactId (Int32) [-ContactTypeId (Int32)]
Remove-MSContactFromModuleItem -Module (String) -InstanceId (Int32) -ContactId (Int32) [-ContactTypeName (String)]
Examples
Remove-MSContactFromModuleItem -Module Applications -InstanceId 2000 -ContactId 10 -ContactTypeName 'UAT Contact'