programming4us
programming4us
WEBSITE

Sharepoint 2013 : Farm Management - Rename a Server on the Farm, Display the Configured Managed Paths

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Rename a Server on the Farm


Scenario/Problem: You want to rename a server that participates in the SharePoint farm.


Solution: Use the Rename-SPServer cmdlet.

The Rename-SPServer cmdlet renames a server in the farm. However, note that it renames the server only from a SharePoint standpoint and does not actually rename the physical server. Use the current name as the Identity parameter and the new name for the Name parameter, as shown in Listing 1.

Listing 1. Renaming a Server on the Farm


Rename-SPServer -Identity "OldServerName" -Name "NewServerName"



Warning

If the rename procedure does not complete successfully, the server being renamed may no longer function as a SharePoint server. Running the SharePoint 2013 Products Configuration Wizard may resolve any issues; however, there is the potential of configuration database corruption forcing you to rebuild the SharePoint farm.



Display the Configured Managed Paths


Scenario/Problem: You need to display the current managed paths configured on a web application in the farm.


Solution: Use the Get-SPManagedPath cmdlet with an associated web application.

Issuing the Get-SPManagedPath cmdlet with the WebApplication parameter (as shown in Listing 2) displays all configured managed paths on the SharePoint farm, as shown in Figure 1.

Listing 2. Retrieving Configured Managed Paths


Get-SPManagedPath -WebApplication "SharePoint - 80"


Image

Figure 1. Get-SPManagedPath displays all configured managed paths.

Create a New Managed Path


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 3.

Listing 3. 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 explicit inclusion type, as shown in Listing 4.

Listing 4. Creating a New Managed Path with Explicit Inclusion


New-SPManagedPath -WebApplication "SharePoint - 80" -RelativeURL
"/departments/" -Explicit



Tip

You may also create a managed path using the HostHeader parameter instead of the WebApplication parameter. New-SPManagedPath has two parameter sets for this purpose.

Other  
  •  Sharepoint 2013 : Farm Management - Retrieve the System Accounts, Retrieve Managed Accounts
  •  Sharepoint 2013 : Farm Management - Refresh Installed Products,Change the Port of Central Admin,Change the Farm Passphrase
  •  Sharepoint 2013 : Farm Management - Review Farm Configuration Values,Set the Farm Configuration Values
  •  Web User’s Best Buys March 2014
  •  Sharepoint 2013 : Using SkyDrive Pro - Discontinuing sync between SkyDrive Pro and your local device
  •  Sharepoint 2013 : Using SkyDrive Pro - Locating followed documents by using SkyDrive Pro, Synchronizing SkyDrive Pro to your local computer
  •  Sharepoint 2013 : Using SkyDrive Pro - Following SkyDrive Pro documents, Locating followed documents by using the newsfeed
  •  Sharepoint 2013 : Using SkyDrive Pro - Sharing SkyDrive Pro files
  •  Sharepoint 2013 : Using SkyDrive Pro - Saving files to be accessible only to you
  •  Sharepoint 2013 : Using SkyDrive Pro - Accessing your SkyDrive Pro account, Saving files to SkyDrive Pro
  •  
    Top 10
    Free Mobile And Desktop Apps For Accessing Restricted Websites
    MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
    TOYOTA CAMRY 2; 2.5 : Camry now more comely
    KIA SORENTO 2.2CRDi : Fuel-sipping slugger
    How To Setup, Password Protect & Encrypt Wireless Internet Connection
    Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
    Backup & Restore Game Progress From Any Game With SaveGameProgress
    Generate A Facebook Timeline Cover Using A Free App
    New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
    SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
    - Messages forwarded by Outlook rule go nowhere
    - Create and Deploy Windows 7 Image
    - How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
    - Creating and using an unencrypted cookie in ASP.NET
    - Directories
    - Poor Performance on Sharepoint 2010 Server
    - SBS 2008 ~ The e-mail alias already exists...
    - Public to Private IP - DNS Changes
    - Send Email from Winform application
    - How to create a .mdb file from ms sql server database.......
    programming4us programming4us
    programming4us
     
     
    programming4us