CmdID / PowerShell / Cmdlets / Set
Set-CsTeamsFilesPolicy
Creates a new teams files policy. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 8 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before executing the command.-DefaultFileUploadAppIdThis can be used by the 3p apps to configure their app, so when the files will be dragged and dropped in compose, it will get uploaded in that 3P app.-FileSharingInChatswithExternalUsersIndicates if file sharing in chats with external users is enabled.-ForceSuppresses the display of any non-fatal error message that might arise when running the command.-IdentityA unique identifier specifying the scope, and in some cases the name, of the policy.-NativeFileEntryPointsThis parameter is enabled by default, which shows the option to upload content from ODSP to Teams chats or channels.-SPChannelFilesTabIndicates whether Iframe channel files tab is enabled, if not, integrated channel files tab will be enabled.-WhatIf, -wiDescribes what would happen if you executed the command without actually executing the command.