Home > PowerShell, SharePoint 2010 > Changing the URL of SharePoint 2010 Sub-Site using PowerShell

Changing the URL of SharePoint 2010 Sub-Site using PowerShell

For whatever reason if you are unable to change the URL of a sub-site in SharePoint 2010 you can turn to PowerShell.

I ran into this issue when I tried to rename a subsite and received an error “The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator”

Get-SPWeb http://portal/subsite | Set-SPWeb -RelativeUrl newsubsitename

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: