How to create managed path in SharePoint using PowerShell

Advertisement
Using Power Shell we can create it easily
Open the SharePoint2013 Management Shell
Use the below commands to create and remove the managed path for Explicit and Wild

Creating the Managed Path Explicit
New-SPManagedPath -RelativeURL "my" -WebApplication "http://SharePoint:1234/" – Explicit


Creating the Managed Path Wild
New-SPManagedPath "personal" -WebApplication http://SharePoint:1234/

Remove Managed

Remove-SPManagedPath -Identity " personal "  -WebApplication "http://SharePoint2013:1234/" -confirm:$false 

If we want to get the all managed paths for that particular web application

Get-SPManagedPath  -WebApplication http://SharePoint2013:1234/

SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM
Advertisements
SHARE

Unknown

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a comment