%3CLINGO-SUB%20id%3D%22lingo-sub-1249009%22%20slang%3D%22en-US%22%3ERe%3A%20Localization%20migration%20from%20AIP%20classic%20client%20to%20Security%20and%20Compliance%20Center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1249009%22%20slang%3D%22en-US%22%3E%3CP%3EAny%20idea%20when%20there%20will%20be%20localized%20sensitivity%20labels%20available%20in%20Exchange%20Online%20%2F%20Outlook%20web%20access%20%2F%20Android%3F%20We%20have%20a%20ticket%20opened%20for%20a%20while%20but%20the%20functionality%20is%20still%20not%20available.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1249261%22%20slang%3D%22en-US%22%3ERe%3A%20Localization%20migration%20from%20AIP%20classic%20client%20to%20Security%20and%20Compliance%20Center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1249261%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Martin%2C%20That's%20a%20known%20issue%20and%20its%20under%20investigation%20by%20the%20PG%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1235161%22%20slang%3D%22en-US%22%3ELocalization%20migration%20from%20AIP%20classic%20client%20to%20Security%20and%20Compliance%20Center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1235161%22%20slang%3D%22en-US%22%3E%3CP%3E%3CU%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FU%3E%3C%2FP%3E%0A%3CP%3EWith%20the%20recent%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-information-protection%2Fannouncing-timelines-for-sunsetting-label-management-in-the%2Fba-p%2F1226179%22%20target%3D%22_self%22%3Eannouncement%20and%20sunset%20scheduling%20of%20AIP%20classic%20client%20and%20the%20AIP%20label%20management%20portal%3C%2FA%3E%2C%20the%20need%20to%20migrate%20to%20%3CU%3ESecurity%20and%20Compliance%20Center%20(SCC)%3C%2FU%3E%20is%20becoming%20an%20important%20task%20to%20achieve%20as%20soon%20as%20possible.%3CBR%20%2F%3EThere%20are%203%20main%20objects%20in%20the%20policy%20definition%20that%20can%20be%20migrated%20to%20the%20Security%20and%20Compliance%20portal.%20Some%20of%20the%20object%20migrations%20are%20automated%20and%20some%20of%20must%20be%20completed%20manually%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ELabel%20definition%20%E2%80%93%20automatically%20migrated%20when%20you%20click%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Finformation-protection%2Fconfigure-policy-migrate-labels%23to-migrate-azure-information-protection-labels%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethe%20Activate%20button%3C%2FA%3E%3C%2FSPAN%3E.%3C%2FLI%3E%0A%3CLI%3EDifferent%20policies%20-%20can%20be%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Finformation-protection%2Fconfigure-policy-migrate-labels%23copy-policies%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ecopied%20automatically%3C%2FA%3E%3C%2FSPAN%3E%2C%20make%20sure%20to%20pay%20attention%20to%20the%20fact%20that%20the%20copy%20policy%26nbsp%3B%20automatically%20publishes%20the%20policies%20in%20the%20Security%20and%20Compliance%20portal.%3C%2FLI%3E%0A%3CLI%3ELocalization%20settings-manual%20process%20(until%20today).%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EToday%2C%20we%20are%20happy%20to%20share%20an%20internal%20%26nbsp%3Btool%2C%20%26nbsp%3Bbuilt%20by%20one%20of%20our%20PFEs%20(Kudos%20to%20Friedrich%20Weinmann)%20to%20semi-automate%20the%20localization%20settings%20migration%20%26nbsp%3Bprocess.%3CBR%20%2F%3EInstructions%20to%20make%20the%20Localization%20settings%20migration%20process%20as%20easy%20as%20possible%20are%20provided%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%20In%20case%20you%20are%20using%20automatic%20conditions%20in%20your%20policy%20for%20automatic%20labeling%2C%20they%20still%20need%20to%20be%20reconfigured%20on%20the%20SCC%20portal.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EDisclaimer%3A%20This%20tool%20is%20not%20provided%20with%20%26nbsp%3Bsupport%20or%20maintenance%20by%20Microsoft.%20This%20tool%20is%20shared%20with%20you%20for%20use%20under%20your%20%26nbsp%3Bconsideration%20only.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E1.Connecting%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EConnect%20to%20the%20Security%20%26amp%3B%20Compliance%20Center%20using%20PowerShell.%3C%2FP%3E%0A%3CP%3EThere%20are%20two%20ways%20you%20can%20login%20into%20the%20SCC%20using%20PowerShell%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EBasic%20authentication%20using%20the%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fpowershell%252Fexchange%252Foffice-365-scc%252Fconnect-to-scc-powershell%252Fconnect-to-scc-powershell%253Fview%253Dexchange-ps%26amp%3Bdata%3D04%257C01%257CHen.David%2540microsoft.com%257C538933fdb07a4af0c39908d7c4eb0ff6%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637194386234950751%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C-1%26amp%3Bsdata%3D6Hyjkt%252FTE4NKIx7IygT65DvNhGwmpqtEfCkh6h7HDvE%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eonline%20documented%20way%3C%2FA%3E%3C%2FSPAN%3E.%3C%2FLI%3E%0A%3CLI%3EModern%20%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fexchange%2Foffice-365-scc%2Fconnect-to-scc-powershell%2Fmfa-connect-to-scc-powershell%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eauthentication%20with%20support%20for%20MFA%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20the%20connection%20is%20established%2C%20export%20the%20XML%20and%20load%20the%20command%20that%20will%20perform%20the%20import%3A%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E2.Exporting%20the%20localization%20XML%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EFrom%20the%20Azure%20Information%20Protection%20portal%2C%20%26nbsp%3Bexport%20the%20languages%20that%20you%20are%20interested%20in%20importing%20%26nbsp%3Bto%26nbsp%3B%20Security%20and%20Compliance%20label%20configuration.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorHen%20David_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22AIP%20portal.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F177773iCF5FCF056D683C74%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22AIP%20portal.jpg%22%20alt%3D%22AIP%20portal.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E3.%20%3C%2FSTRONG%3E%3CSTRONG%3ELoading%20the%20command%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPaste%20the%20following%20function%20definition%20into%20the%20console%20with%20the%20established%20connection%20from%20Step%20.%20Note%20that%20pasting%20the%20function%20does%20not%20perform%20any%20changes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E--------%3C%2FP%3E%0A%3CP%3EFunction%26nbsp%3BImport-LegacyLabelXml%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26lt%3B%23%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B.SYNOPSIS%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BImports%26nbsp%3Blabels%26nbsp%3Binto%26nbsp%3Bthe%26nbsp%3BSecurity%26nbsp%3B%26amp%3B%26nbsp%3BCompliance%26nbsp%3BCenter%26nbsp%3Bfrom%26nbsp%3Ban%26nbsp%3Bexport-xml%26nbsp%3Bof%26nbsp%3Bclassic%26nbsp%3BAIP%26nbsp%3Blabels.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BThis%26nbsp%3Bimport%26nbsp%3Bonly%26nbsp%3Bapplies%26nbsp%3Bto%26nbsp%3Blocalization%26nbsp%3Bcomponents%26nbsp%3Bof%26nbsp%3Btags!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B.DESCRIPTION%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BImports%26nbsp%3Blabels%26nbsp%3Binto%26nbsp%3Bthe%26nbsp%3BSecurity%26nbsp%3B%26amp%3B%26nbsp%3BCompliance%26nbsp%3BCenter%26nbsp%3Bfrom%26nbsp%3Ban%26nbsp%3Bexport-xml%26nbsp%3Bof%26nbsp%3Bclassic%26nbsp%3BAIP%26nbsp%3Blabels.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BThis%26nbsp%3Bavoids%26nbsp%3Bhaving%26nbsp%3Bto%26nbsp%3Bmanually%26nbsp%3Bupdate%26nbsp%3Blabels%26nbsp%3Bin%26nbsp%3Bmultiple-language%26nbsp%3Bscenarios.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BThis%26nbsp%3Bimport%26nbsp%3Bonly%26nbsp%3Bapplies%26nbsp%3Bto%26nbsp%3Blocalization%26nbsp%3Bcomponents%26nbsp%3Bof%26nbsp%3Btags!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BSettings%26nbsp%3Bwill%26nbsp%3Bbe%26nbsp%3Bmerged%26nbsp%3Binto%26nbsp%3Bexisting%26nbsp%3Blabels%2C%26nbsp%3Bif%26nbsp%3Bthose%26nbsp%3Balready%26nbsp%3Bexist.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BImportant%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BThis%26nbsp%3Bcommand%26nbsp%3Bassumes%26nbsp%3Byou%26nbsp%3Bare%26nbsp%3Balready%26nbsp%3Bconnected%26nbsp%3Bto%26nbsp%3Bthe%26nbsp%3BOffice365%26nbsp%3BSecurity%26nbsp%3B%26amp%3B%26nbsp%3BCompliance%26nbsp%3BCenter!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B.PARAMETER%26nbsp%3BPath%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BPath%26nbsp%3Bto%26nbsp%3Bthe%26nbsp%3BXML%26nbsp%3Bfile(s)%26nbsp%3Bto%26nbsp%3Bimport.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B.PARAMETER%26nbsp%3BReplace%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BBy%26nbsp%3Bdefault%2C%26nbsp%3Bkeys%26nbsp%3Bfor%26nbsp%3Bexisting%26nbsp%3Blanguages%26nbsp%3Bare%26nbsp%3Bnot%26nbsp%3Boverwritten.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BEnabling%26nbsp%3Bthis%26nbsp%3Bswitch%26nbsp%3Bwill%26nbsp%3Binstead%26nbsp%3Boverwrite%26nbsp%3Bthose%26nbsp%3Bwith%26nbsp%3Bthe%26nbsp%3Bstrings%26nbsp%3Bdefined%26nbsp%3Bin%26nbsp%3Bthe%26nbsp%3Bimport%26nbsp%3Bxml.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B.EXAMPLE%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BPS%26nbsp%3BC%3A%5C%26gt%3B%26nbsp%3BGet-ChildItem%26nbsp%3BC%3A%5Cexport%5C*.xml%26nbsp%3B%7C%26nbsp%3BImport-LegacyLabelXml%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BImports%26nbsp%3Ball%26nbsp%3Bthe%26nbsp%3Bxml%26nbsp%3Bfiles%26nbsp%3Bin%26nbsp%3BC%3A%5Cexport%2C%26nbsp%3Bparses%26nbsp%3Bthem%26nbsp%3Bfor%26nbsp%3Blabel%26nbsp%3BDisplayNames%26nbsp%3Band%26nbsp%3Bdescriptions%26nbsp%3Band%26nbsp%3Buploads%26nbsp%3Bthem%26nbsp%3Binto%26nbsp%3BS%26amp%3BCC.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%23%26gt%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BCmdletBinding()%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bparam%26nbsp%3B(%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BParameter(ValueFromPipeline%26nbsp%3B%3D%26nbsp%3B%24true%2C%26nbsp%3BValueFromPipelineByPropertyName%26nbsp%3B%3D%26nbsp%3B%24true)%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BAlias('FullName')%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bstring%5B%5D%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Path%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bswitch%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Replace%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bbegin%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%23region%26nbsp%3BUtility%26nbsp%3BFunctions%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bfunction%26nbsp%3BWrite-LabelObject%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BCmdletBinding()%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bparam%26nbsp%3B(%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bstring%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Name%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BAllowNull()%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BAllowEmptyString()%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bstring%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Parent%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bstring%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Identity%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bstring%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Language%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bstring%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Setting%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bstring%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Text%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bstring%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24DefaultText%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BHashtable%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24DataSet%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BHashtable%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Labels%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bif%26nbsp%3B(-not%26nbsp%3B%24DataSet%5B%24Identity%5D)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24DataSet%5B%24Identity%5D%26nbsp%3B%3D%26nbsp%3B%5BPSCustomObject%5D%40%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24Name%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BParent%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24Parent%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BIdentity%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24Identity%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BID%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24Labels%5B%24Identity%5D.Guid%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BParentID%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24(if%26nbsp%3B(%24Parent)%26nbsp%3B%7B%26nbsp%3B%24Labels%5B%24Parent%5D.Guid%26nbsp%3B%7D%26nbsp%3Belse%26nbsp%3B%7B%26nbsp%3B%24null%26nbsp%3B%7D)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BDescription%26nbsp%3B%3D%26nbsp%3B%40%7B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BDisplayName%26nbsp%3B%3D%26nbsp%3B%40%7B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24DataSet%5B%24Identity%5D.%24(%24Setting)%5B'default'%5D%26nbsp%3B%3D%26nbsp%3B%24DefaultText%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24DataSet%5B%24Identity%5D.%24(%24Setting)%5B%24Language%5D%26nbsp%3B%3D%26nbsp%3B%24Text%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bfunction%26nbsp%3BUpdate-LocalizedLabel%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BCmdletBinding()%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bparam%26nbsp%3B(%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24DataObject%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BHashtable%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Labels%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bbool%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Replace%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BWrite-Verbose%26nbsp%3B%22Updating%26nbsp%3B%24(%24DataObject.Identity)%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24identity%26nbsp%3B%3D%26nbsp%3B%24DataObject.ID%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bif%26nbsp%3B(-not%26nbsp%3B%24identity)%26nbsp%3B%7B%26nbsp%3B%24identity%26nbsp%3B%3D%26nbsp%3B%24Labels%5B%24DataObject.Identity%5D.Guid%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24jsonData%26nbsp%3B%3D%26nbsp%3B%24Labels%5B%24DataObject.Identity%5D.LocaleSettings%26nbsp%3B%7C%26nbsp%3BConvertTo-Json%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24displayNameList%26nbsp%3B%3D%26nbsp%3B%40%7B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bforeach%26nbsp%3B(%24entry%26nbsp%3Bin%26nbsp%3B(%24jsonData%26nbsp%3B%7C%26nbsp%3BWhere-Object%26nbsp%3BLocaleKey%26nbsp%3B-eq%26nbsp%3B%22displayName%22).Settings)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24displayNameList%5B%24entry.Key%5D%26nbsp%3B%3D%26nbsp%3B%40%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BKey%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24entry.Key%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BValue%26nbsp%3B%3D%26nbsp%3B%24entry.Value%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bforeach%26nbsp%3B(%24languageKey%26nbsp%3Bin%26nbsp%3B%24DataObject.DisplayName.Keys)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bif%26nbsp%3B(-not%26nbsp%3B%24Replace%26nbsp%3B-and%26nbsp%3B%24displayNameList%5B%24languageKey%5D)%26nbsp%3B%7B%26nbsp%3Bcontinue%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24displayNameList%5B%24languageKey%5D%26nbsp%3B%3D%26nbsp%3B%40%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BKey%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24languageKey%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BValue%26nbsp%3B%3D%26nbsp%3B%24DataObject.DisplayName%5B%24languageKey%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24displayNameObject%26nbsp%3B%3D%26nbsp%3B%5BPSCustomObject%5D%40%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BLocaleKey%26nbsp%3B%3D%26nbsp%3B'DisplayName'%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BSettings%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%40(%24displayNameList.Values%26nbsp%3B%7C%26nbsp%3BWrite-Output)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BSet-Label%26nbsp%3B-Identity%26nbsp%3B%24identity%26nbsp%3B-LocaleSettings%26nbsp%3B(ConvertTo-Json%26nbsp%3B%24displayNameObject%26nbsp%3B-Depth%26nbsp%3B3%26nbsp%3B-Compress)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24tooltipList%26nbsp%3B%3D%26nbsp%3B%40%7B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bforeach%26nbsp%3B(%24entry%26nbsp%3Bin%26nbsp%3B(%24jsonData%26nbsp%3B%7C%26nbsp%3BWhere-Object%26nbsp%3BLocaleKey%26nbsp%3B-eq%26nbsp%3B%22tooltip%22).Settings)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24tooltipList%5B%24entry.Key%5D%26nbsp%3B%3D%26nbsp%3B%40%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BKey%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24entry.Key%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BValue%26nbsp%3B%3D%26nbsp%3B%24entry.Value%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bforeach%26nbsp%3B(%24languageKey%26nbsp%3Bin%26nbsp%3B%24DataObject.Description.Keys)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bif%26nbsp%3B(-not%26nbsp%3B%24Replace%26nbsp%3B-and%26nbsp%3B%24tooltipList%5B%24languageKey%5D)%26nbsp%3B%7B%26nbsp%3Bcontinue%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24tooltipList%5B%24languageKey%5D%26nbsp%3B%3D%26nbsp%3B%40%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BKey%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24languageKey%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BValue%26nbsp%3B%3D%26nbsp%3B%24DataObject.Description%5B%24languageKey%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24tooltipObject%26nbsp%3B%3D%26nbsp%3B%5BPSCustomObject%5D%40%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BLocaleKey%26nbsp%3B%3D%26nbsp%3B'Tooltip'%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BSettings%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%40(%24tooltipList.Values%26nbsp%3B%7C%26nbsp%3BWrite-Output)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BSet-Label%26nbsp%3B-Identity%26nbsp%3B%24identity%26nbsp%3B-LocaleSettings%26nbsp%3B(ConvertTo-Json%26nbsp%3B%24tooltipObject%26nbsp%3B-Depth%26nbsp%3B3%26nbsp%3B-Compress)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bfunction%26nbsp%3BNew-LocalizedLabel%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BCmdletBinding()%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bparam%26nbsp%3B(%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24DataObject%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5BHashtable%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Labels%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BWrite-Verbose%26nbsp%3B%22Creating%26nbsp%3B%24(%24DataObject.Identity)%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24parameters%26nbsp%3B%3D%26nbsp%3B%40%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BName%26nbsp%3B%3D%26nbsp%3B%5Bguid%5D%3A%3ANewGuid()%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BDisplayName%26nbsp%3B%3D%26nbsp%3B%24DataObject.Name%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bif%26nbsp%3B(%24DataObject.ParentID)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24parameters%5B'ParentID'%5D%26nbsp%3B%3D%26nbsp%3B%24DataObject.ParentID%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Belseif%26nbsp%3B(%24DataObject.Parent)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24parameters%5B'ParentID'%5D%26nbsp%3B%3D%26nbsp%3B%24Labels%5B%24DataObject.Parent%5D.Guid%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24newLabel%26nbsp%3B%3D%26nbsp%3BNew-Label%26nbsp%3B%40parameters%26nbsp%3B%7C%26nbsp%3BSelect-Object%26nbsp%3B-Property%26nbsp%3BName%2C%26nbsp%3BDisplayName%2C%26nbsp%3BGuid%2C%26nbsp%3BParentID%2C%26nbsp%3BLocaleSettings%2C%26nbsp%3BIdentity%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24newLabel.Identity%26nbsp%3B%3D%26nbsp%3B%24DataObject.Identity%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24Labels%5B%24newLabel.Identity%5D%26nbsp%3B%3D%26nbsp%3B%24newLabel%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BUpdate-LocalizedLabel%26nbsp%3B-DataObject%26nbsp%3B%24DataObject%26nbsp%3B-Labels%26nbsp%3B%24Labels%26nbsp%3B-Replace%26nbsp%3B%24true%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%23endregion%26nbsp%3BUtility%26nbsp%3BFunctions%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24dataSet%26nbsp%3B%3D%26nbsp%3B%40%7B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24labelBase%26nbsp%3B%3D%26nbsp%3B%40%7B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24labels%26nbsp%3B%3D%26nbsp%3B%40%7B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24labelData%26nbsp%3B%3D%26nbsp%3BGet-Label%26nbsp%3B%7C%26nbsp%3BSelect-Object%26nbsp%3B-Property%26nbsp%3BName%2C%26nbsp%3BDisplayName%2C%26nbsp%3BGuid%2C%26nbsp%3BParentID%2C%26nbsp%3BLocaleSettings%2C%26nbsp%3BIdentity%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bforeach%26nbsp%3B(%24label%26nbsp%3Bin%26nbsp%3B%24labelData)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24labelBase%5B%24label.Guid%5D%26nbsp%3B%3D%26nbsp%3B%24label%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bforeach%26nbsp%3B(%24label%26nbsp%3Bin%26nbsp%3B%24labelData)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24identity%26nbsp%3B%3D%26nbsp%3B%24label.DisplayName%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bif%26nbsp%3B(%24label.ParentID)%26nbsp%3B%7B%26nbsp%3B%24identity%26nbsp%3B%3D%26nbsp%3B'%7B0%7D%2F%7B1%7D'%26nbsp%3B-f%26nbsp%3B%24labelBase%5B%24label.ParentID%5D.DisplayName%2C%26nbsp%3B%24label.DisplayName%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24labels%5B%24identity%5D%26nbsp%3B%3D%26nbsp%3B%24label%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bprocess%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bforeach%26nbsp%3B(%24filePath%26nbsp%3Bin%26nbsp%3B%24Path)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BWrite-Verbose%26nbsp%3B%22Processing%26nbsp%3B%24filePath%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%23region%26nbsp%3BValidation%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bif%26nbsp%3B(-not%26nbsp%3B(Test-Path%26nbsp%3B%24filePath))%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BWrite-Warning%26nbsp%3B%22File%26nbsp%3Bdoes%26nbsp%3Bnot%26nbsp%3Bexist%3A%26nbsp%3B%24filePath%26nbsp%3B!%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bthrow%26nbsp%3B%22File%26nbsp%3Bdoes%26nbsp%3Bnot%26nbsp%3Bexist%3A%26nbsp%3B%24filePath%26nbsp%3B!%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Btry%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5Bxml%5D%24xmlData%26nbsp%3B%3D%26nbsp%3BGet-Content%26nbsp%3B-Path%26nbsp%3B%24filePath%26nbsp%3B-ErrorAction%26nbsp%3BStop%26nbsp%3B-Encoding%26nbsp%3Butf8%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bcatch%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BWrite-Warning%26nbsp%3B%22Input%26nbsp%3Bis%26nbsp%3Bnot%26nbsp%3Ba%26nbsp%3Blegal%26nbsp%3BXML%26nbsp%3Bfile%3A%26nbsp%3B%24filePath%26nbsp%3B!%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bthrow%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%23endregion%26nbsp%3BValidation%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%23region%26nbsp%3BProcess%26nbsp%3BFile%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24language%26nbsp%3B%3D%26nbsp%3B%24xmlData.Language.Id%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24localizationData%26nbsp%3B%3D%26nbsp%3B%24xmlData.Language.LocItem%26nbsp%3B%7C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BWhere-Object%26nbsp%3BID%26nbsp%3B-match%26nbsp%3B'%5ElabelGroups%2FSensitivity%2Flabels%2F.%2B%2F(DisplayName%7CDescription)%24'%26nbsp%3B%7C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BSelect-Object%26nbsp%3B%40%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B'ID'%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BExpression%26nbsp%3B%3D%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24_.ID.Replace(%22labelGroups%2FSensitivity%2Flabels%2F%22%2C%26nbsp%3B%22%22)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%2C%26nbsp%3BdefaultText%2C%26nbsp%3BLocalizedText%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bforeach%26nbsp%3B(%24localDatum%26nbsp%3Bin%26nbsp%3B%24localizationData)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24parent%26nbsp%3B%3D%26nbsp%3B%24null%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24identity%26nbsp%3B%3D%26nbsp%3B(%24localDatum.ID%26nbsp%3B-split%26nbsp%3B%22%2F%22)%5B-2%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bif%26nbsp%3B((%24localDatum.ID%26nbsp%3B-split%26nbsp%3B%22%2F%22).Count%26nbsp%3B-ge%26nbsp%3B4)%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24parent%26nbsp%3B%3D%26nbsp%3B(%24localDatum.ID%26nbsp%3B-split%26nbsp%3B%22%2F%22)%5B-4%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24identity%26nbsp%3B%3D%26nbsp%3B'%7B0%7D%2F%7B1%7D'%26nbsp%3B-f%26nbsp%3B%24parent%2C%26nbsp%3B%24identity%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24parameters%26nbsp%3B%3D%26nbsp%3B%40%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B(%24localDatum.ID%26nbsp%3B-split%26nbsp%3B%22%2F%22)%5B-2%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BParent%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24parent%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BIdentity%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24identity%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BLanguage%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24language%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BSetting%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B(%24localDatum.ID%26nbsp%3B-split%26nbsp%3B%22%2F%22)%5B-1%5D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BText%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24localDatum.LocalizedText%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BDefaultText%26nbsp%3B%3D%26nbsp%3B%24localDatum.defaultText%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BDataSet%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24dataSet%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BLabels%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3D%26nbsp%3B%24labels%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BWrite-LabelObject%26nbsp%3B%40parameters%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%23endregion%26nbsp%3BProcess%26nbsp%3BFile%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bend%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bforeach%26nbsp%3B(%24labelObject%26nbsp%3Bin%26nbsp%3B(%24dataSet.Values%26nbsp%3B%7C%26nbsp%3BWhere-Object%26nbsp%3BParent%26nbsp%3B-eq%26nbsp%3B%22%22))%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bif%26nbsp%3B(%24labelObject.ID)%26nbsp%3B%7B%26nbsp%3BUpdate-LocalizedLabel%26nbsp%3B-DataObject%26nbsp%3B%24labelObject%26nbsp%3B-Labels%26nbsp%3B%24labels%26nbsp%3B-Replace%26nbsp%3B%24Replace.ToBool()%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Belse%26nbsp%3B%7B%26nbsp%3BNew-LocalizedLabel%26nbsp%3B-DataObject%26nbsp%3B%24labelObject%26nbsp%3B-Labels%26nbsp%3B%24labels%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bforeach%26nbsp%3B(%24labelObject%26nbsp%3Bin%26nbsp%3B(%24dataSet.Values%26nbsp%3B%7C%26nbsp%3BWhere-Object%26nbsp%3BParent%26nbsp%3B-ne%26nbsp%3B%22%22))%26nbsp%3B%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Bif%26nbsp%3B(%24labelObject.ID)%26nbsp%3B%7B%26nbsp%3BUpdate-LocalizedLabel%26nbsp%3B-DataObject%26nbsp%3B%24labelObject%26nbsp%3B-Labels%26nbsp%3B%24labels%26nbsp%3B-Replace%26nbsp%3B%24Replace.ToBool()%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3Belse%26nbsp%3B%7B%26nbsp%3BNew-LocalizedLabel%26nbsp%3B-DataObject%26nbsp%3B%24labelObject%26nbsp%3B-Labels%26nbsp%3B%24labels%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FP%3E%0A%3CP%3E%7D%3C%2FP%3E%0A%3CP%3E-------------%3C%2FP%3E%0A%3CP%3EWhen%20completed%2C%20you%20are%20ready%20to%20proceed%20with%20the%20import.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E4.Importing%20label%20localization%20XML%20files%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EWhen%20preparations%20are%20completed%2C%20import%20the%20XML%20files%20thatcontain%20the%20export%20of%20the%20label%20localization%20data%20using%20the%20following%20command%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-------------%3C%2FP%3E%0A%3CP%3EGet-ChildItem%26nbsp%3BC%3A%5Cexport%5C*.xml%26nbsp%3B%7C%26nbsp%3BImport-LegacyLabelXml%3C%2FP%3E%0A%3CP%3E-------------%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20sample%20command%20assumes%20the%20files%20to%20import%20were%20placed%20in%20the%20folder%20C%3A%5Cexport%20(make%20sure%20to%20adjust%20accordingly%2C%20if%20you%20chose%20a%20different%20path).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENotes%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EYou%20can%20import%20any%20number%20of%20language%20xml%20files%20at%20the%20same%20time.%3C%2FLI%3E%0A%3CLI%3EYou%20do%20not%20need%20to%20import%20%3CEM%3Eall%3C%2FEM%3E%20xml%20files%20at%20the%20same%20time%20%E2%80%93%20you%20can%20import%20additional%20languages%20at%20a%20later%20time.%3C%2FLI%3E%0A%3CLI%3EIf%20localization%20for%20a%20language%20already%20exists%20(manual%20entry%2C%20previous%20import)%20this%20action%20%26nbsp%3Bwill%20not%20overwrite%20them%2C%20unless%20you%20%3CEM%3Ealso%3C%2FEM%3E%20specify%20the%20%22-%3CSTRONG%3EReplace%3C%2FSTRONG%3E%22%20parameter.%3C%2FLI%3E%0A%3CLI%3EImporting%20a%20localization%20for%20a%20label%20that%20does%20not%20exist%2C%20creates%20the%20label.%3C%2FLI%3E%0A%3CLI%3EThis%20script%20does%20not%20check%20the%20validity%20of%20the%20XML%20files.%20Make%20sure%20you%20use%20the%20correct%20XML.%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1235161%22%20slang%3D%22en-US%22%3E%3CP%3E%E2%80%83%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1235161%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Information%20Protection%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMigratiomn%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESCC%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

 

With the recent announcement and sunset scheduling of AIP classic client and the AIP label management portal, the need to migrate to Security and Compliance Center (SCC) is becoming an important task to achieve as soon as possible.
There are 3 main objects in the policy definition that can be migrated to the Security and Compliance portal. Some of the object migrations are automated and some of must be completed manually:

  • Label definition – automatically migrated when you click the Activate button.
  • Different policies - can be copied automatically, make sure to pay attention to the fact that the copy policy  automatically publishes the policies in the Security and Compliance portal.
  • Localization settings-manual process (until today).

Today, we are happy to share an internal  tool,  built by one of our PFEs (Kudos to Friedrich Weinmann) to semi-automate the localization settings migration  process.
Instructions to make the Localization settings migration process as easy as possible are provided below.

 

Note: In case you are using automatic conditions in your policy for automatic labeling, they still need to be reconfigured on the SCC portal.

 

Disclaimer: This tool is not provided with  support or maintenance by Microsoft. This tool is shared with you for use under your  consideration only.

 

1.Connecting

Connect to the Security & Compliance Center using PowerShell.

There are two ways you can login into the SCC using PowerShell:

 

After the connection is established, export the XML and load the command that will perform the import:

 

2.Exporting the localization XML

From the Azure Information Protection portal,  export the languages that you are interested in importing  to  Security and Compliance label configuration.

 

 

AIP portal.jpg

 

3. Loading the command

 

Paste the following function definition into the console with the established connection from Step . Note that pasting the function does not perform any changes.

 

--------

Function Import-LegacyLabelXml {

    <#

    .SYNOPSIS

        Imports labels into the Security & Compliance Center from an export-xml of classic AIP labels.

        This import only applies to localization components of tags!

    

    .DESCRIPTION

        Imports labels into the Security & Compliance Center from an export-xml of classic AIP labels.

 

        This avoids having to manually update labels in multiple-language scenarios.

        This import only applies to localization components of tags!

 

        Settings will be merged into existing labels, if those already exist.

        

        Important:

        This command assumes you are already connected to the Office365 Security & Compliance Center!

    

    .PARAMETER Path

        Path to the XML file(s) to import.

    

    .PARAMETER Replace

        By default, keys for existing languages are not overwritten.

        Enabling this switch will instead overwrite those with the strings defined in the import xml.

    

    .EXAMPLE

        PS C:\> Get-ChildItem C:\export\*.xml | Import-LegacyLabelXml

 

        Imports all the xml files in C:\export, parses them for label DisplayNames and descriptions and uploads them into S&CC.

    #>

    [CmdletBinding()]

    param (

        [Parameter(ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]

        [Alias('FullName')]

        [string[]]

        $Path,

 

        [switch]

        $Replace

    )

 

    begin {

        #region Utility Functions

        function Write-LabelObject {

            [CmdletBinding()]

            param (

                [string]

                $Name,

 

                [AllowNull()]

                [AllowEmptyString()]

                [string]

                $Parent,

 

                [string]

                $Identity,

 

                [string]

                $Language,

 

                [string]

                $Setting,

 

                [string]

                $Text,

 

                [string]

                $DefaultText,

 

                [Hashtable]

                $DataSet,

 

                [Hashtable]

                $Labels

            )

        

            if (-not $DataSet[$Identity]) {

                $DataSet[$Identity] = [PSCustomObject]@{

                    Name        = $Name

                    Parent      = $Parent

                    Identity    = $Identity

                    ID          = $Labels[$Identity].Guid

                    ParentID    = $(if ($Parent) { $Labels[$Parent].Guid } else { $null })

                    Description = @{ }

                    DisplayName = @{ }

                }

                $DataSet[$Identity].$($Setting)['default'] = $DefaultText

            }

 

            $DataSet[$Identity].$($Setting)[$Language] = $Text

        }

 

        function Update-LocalizedLabel {

            [CmdletBinding()]

            param (

                $DataObject,

 

                [Hashtable]

                $Labels,

 

                [bool]

                $Replace

            )

 

            Write-Verbose "Updating $($DataObject.Identity)"

            $identity = $DataObject.ID

            if (-not $identity) { $identity = $Labels[$DataObject.Identity].Guid }

 

            $jsonData = $Labels[$DataObject.Identity].LocaleSettings | ConvertTo-Json

            $displayNameList = @{ }

            foreach ($entry in ($jsonData | Where-Object LocaleKey -eq "displayName").Settings) {

                $displayNameList[$entry.Key] = @{

                    Key   = $entry.Key

                    Value = $entry.Value

                }

            }

            foreach ($languageKey in $DataObject.DisplayName.Keys) {

                if (-not $Replace -and $displayNameList[$languageKey]) { continue }

                $displayNameList[$languageKey] = @{

                    Key   = $languageKey

                    Value = $DataObject.DisplayName[$languageKey]

                }

            }

            $displayNameObject = [PSCustomObject]@{

                LocaleKey = 'DisplayName'

                Settings  = @($displayNameList.Values | Write-Output)

            }

            Set-Label -Identity $identity -LocaleSettings (ConvertTo-Json $displayNameObject -Depth 3 -Compress)

 

            $tooltipList = @{ }

            foreach ($entry in ($jsonData | Where-Object LocaleKey -eq "tooltip").Settings) {

                $tooltipList[$entry.Key] = @{

                    Key   = $entry.Key

                    Value = $entry.Value

                }

            }

            foreach ($languageKey in $DataObject.Description.Keys) {

                if (-not $Replace -and $tooltipList[$languageKey]) { continue }

                $tooltipList[$languageKey] = @{

                    Key   = $languageKey

                    Value = $DataObject.Description[$languageKey]

                }

            }

            $tooltipObject = [PSCustomObject]@{

                LocaleKey = 'Tooltip'

                Settings  = @($tooltipList.Values | Write-Output)

            }

            Set-Label -Identity $identity -LocaleSettings (ConvertTo-Json $tooltipObject -Depth 3 -Compress)

        }

 

        function New-LocalizedLabel {

            [CmdletBinding()]

            param (

                $DataObject,

 

                [Hashtable]

                $Labels

            )

 

            Write-Verbose "Creating $($DataObject.Identity)"

            $parameters = @{

                Name = [guid]::NewGuid()

                DisplayName = $DataObject.Name

            }

            if ($DataObject.ParentID) {

                $parameters['ParentID'] = $DataObject.ParentID

            }

            elseif ($DataObject.Parent) {

                $parameters['ParentID'] = $Labels[$DataObject.Parent].Guid

            }

 

            $newLabel = New-Label @parameters | Select-Object -Property Name, DisplayName, Guid, ParentID, LocaleSettings, Identity

            $newLabel.Identity = $DataObject.Identity

            $Labels[$newLabel.Identity] = $newLabel

 

            Update-LocalizedLabel -DataObject $DataObject -Labels $Labels -Replace $true

        }

        #endregion Utility Functions

        

        $dataSet = @{ }

        $labelBase = @{ }

        $labels = @{ }

 

        $labelData = Get-Label | Select-Object -Property Name, DisplayName, Guid, ParentID, LocaleSettings, Identity

            

        foreach ($label in $labelData) {

            $labelBase[$label.Guid] = $label

        }

        foreach ($label in $labelData) {

            $identity = $label.DisplayName

            if ($label.ParentID) { $identity = '{0}/{1}' -f $labelBase[$label.ParentID].DisplayName, $label.DisplayName }

            $labels[$identity] = $label

        }

    }

 

    process {

        foreach ($filePath in $Path) {

            Write-Verbose "Processing $filePath"

 

            #region Validation

            if (-not (Test-Path $filePath)) {

                Write-Warning "File does not exist: $filePath !"

                throw "File does not exist: $filePath !"

            }

 

            try {

                [xml]$xmlData = Get-Content -Path $filePath -ErrorAction Stop -Encoding utf8

            }

            catch {

                Write-Warning "Input is not a legal XML file: $filePath !"

                throw

            }

            #endregion Validation

 

            #region Process File

            $language = $xmlData.Language.Id

            $localizationData = $xmlData.Language.LocItem |

                Where-Object ID -match '^labelGroups/Sensitivity/labels/.+/(DisplayName|Description)$' |

                    Select-Object @{

                        Name       = 'ID'

                        Expression = {

                            $_.ID.Replace("labelGroups/Sensitivity/labels/", "")

                        }

                    }, defaultText, LocalizedText

            foreach ($localDatum in $localizationData) {

                $parent = $null

                $identity = ($localDatum.ID -split "/")[-2]

                if (($localDatum.ID -split "/").Count -ge 4) {

                    $parent = ($localDatum.ID -split "/")[-4]

                    $identity = '{0}/{1}' -f $parent, $identity

                }

                $parameters = @{

                    Name        = ($localDatum.ID -split "/")[-2]

                    Parent      = $parent

                    Identity    = $identity

                    Language    = $language

                    Setting     = ($localDatum.ID -split "/")[-1]

                    Text        = $localDatum.LocalizedText

                    DefaultText = $localDatum.defaultText

                    DataSet     = $dataSet

                    Labels      = $labels

                }

                Write-LabelObject @parameters

            }

            #endregion Process File

        }

    }

    end {

        foreach ($labelObject in ($dataSet.Values | Where-Object Parent -eq "")) {

            if ($labelObject.ID) { Update-LocalizedLabel -DataObject $labelObject -Labels $labels -Replace $Replace.ToBool() }

            else { New-LocalizedLabel -DataObject $labelObject -Labels $labels }

        }

 

        foreach ($labelObject in ($dataSet.Values | Where-Object Parent -ne "")) {

            if ($labelObject.ID) { Update-LocalizedLabel -DataObject $labelObject -Labels $labels -Replace $Replace.ToBool() }

            else { New-LocalizedLabel -DataObject $labelObject -Labels $labels }

        }

    }

}

-------------

When completed, you are ready to proceed with the import.

 

4.Importing label localization XML files

When preparations are completed, import the XML files thatcontain the export of the label localization data using the following command:

 

-------------

Get-ChildItem C:\export\*.xml | Import-LegacyLabelXml

-------------

 

This sample command assumes the files to import were placed in the folder C:\export (make sure to adjust accordingly, if you chose a different path).

 

Notes:

  • You can import any number of language xml files at the same time.
  • You do not need to import all xml files at the same time – you can import additional languages at a later time.
  • If localization for a language already exists (manual entry, previous import) this action  will not overwrite them, unless you also specify the "-Replace" parameter.
  • Importing a localization for a label that does not exist, creates the label.
  • This script does not check the validity of the XML files. Make sure you use the correct XML.
2 Comments
Occasional Contributor

Any idea when there will be localized sensitivity labels available in Exchange Online / Outlook web access / Android? We have a ticket opened for a while but the functionality is still not available.

Microsoft

Hi Martin, That's a known issue and its under investigation by the PG