February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You want to create a new managed path in a web application on the SharePoint farm.
Solution: Use the New-SPManagedPath cmdlet.
Using the New-SPManagedPath cmdlet enables you to create a new managed path on the specified web application, as shown in Listing 4.11.
Listing 4.11. Creating a New Managed Path
New-SPManagedPath -WebApplication "SharePoint - 80"-RelativeURL "/teamsites/"
The forward slashes (/) in the name of the managed path are optional but provide a visual queue (similar to manually creating a managed path through Central Administration).
By default, the managed path is created as a wildcard inclusion type. You can use the Explicit switch parameter to generate the managed path as an ...
Read now
Unlock full access