Setting Regional Settings with PowerShell
This blog entry describes how to use Microsoft PowerShell with the SharePoint and MOSS 2007 object model. Here is an example script that allows the regional settings for a site to be changed and follows the C# example presented here.
Save the file with a “ps1” extension, e.g. “locale.ps1”. The script can be executed in PowerShell by typing:
Note that even if the script file is in the current folder you still need to use the “./” notation to qualify the filename.