Running the command new-compliancesearch uses the parameter language to report an error

Martin Ma 0 Reputation points
2023-04-08T05:20:12.19+00:00

Running the command new-compliancesearch uses the parameter language to report an error, Set-ComplianceSearch -Identity "test" -Language zh-CN or Use new-compliancesearch -language zh-CN

Serialization of type System.Globalization.CultureInfo is not supported
    + CategoryInfo          : WriteError: (:) [Set-ComplianceSearch], ArgumentException
    + FullyQualifiedErrorId : [Server=*********,RequestId=53bfccdd-c834-410a-9c76-863410478c28,TimeStamp=2023/4/7 13:44:37] [FailureCategory=Cmdlet-ArgumentException] 9B6DB52F,Microsof
   t.Office.ComplianceJob.Tasks.SetComplianceSearch
    + PSComputerName        : *********.com

and the command cannot be used under ISE, please help, thank you

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,479 questions
{count} votes