Forum Discussion
Trying to read "PnPUserProfileProperty -PropertyName "SPS-MUILanguages" "
Our corporate Sharepoint site has some formatting issues when viewed with browsers that don't have the SPS-MUILanguages set as "en-US". We have international users and when their browser uses the geo. local settings, this is where the problem starts if they are not within the US local. Through a ticket to MS, I have learned I can change this using powershell with:
Set-PnPUserProfileProperty -Account $UserAccount -PropertyName "SPS-MUILanguages" -Values "en-US".
However, the MS tech said there is no way to "Get" this property's current setting.
My problem is, I need to set the current users to the en-US setting and have something that will continue to set new users to en-US. I was going to write a PS script to iterate the users once a week and see if any were not set for en-US and change them. Also, if I can see the current setting, I can see if my script is working or not.
Is there any way to see the current setting for this?
Thanks,
Phil
- Phil_L325Copper ContributorI missed mentioning, doing this:
Get-PnPUserProfileProperty -Account $UserAccount -PropertyName "SPS-MUILanguages" | FL
Doesn't show the SPS-MUILanguages property.