Remove-FileLabel cmdlet is getting stuck sometimes

Sundram Sontirkey 97 Reputation points
2024-06-27T06:47:00.7266667+00:00

Hi,

I have been exploring the new Microsoft Purview Infromation Protection PowerShell Module. I have been testing Remove-FileLabel cmdlet.

Remove-FileLabel -Path "C:\Users\user\Documents\sample" -JustificationMessage "Migration Requirement"

It's getting stuck sometime after when there is large file share around 10 K or more.

I want to understand why this error comes. Is there any limitation of this cmdlet.

Thanks!

Microsoft Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,020 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,444 questions
{count} votes