CmdID / PowerShell / Cmdlets / New
New-CsTeamsRemoteLogCollectionDevice
This cmdlet allows you to create a new TeamsRemoteLogCollectionDevice instance and set it's properties. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 6 parameters Its page in the reference
Parameters
-UserIdIndicates the userId of the user for which an admin is requesting logs for.-DeviceIdIndicates the deviceId of the device for which an admin is requesting logs for.-ExpireAfterIndicates the expiry date after which the remote log collection request will expire.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-IdentityPolicy instance name.-WhatIf, -wiShows what would happen if the cmdlet runs.