Advertisement
Using Power Shell We can easily change our custom master page in our SharePoint site,once we prepare the script we can use for every time to change the master page.
"Get-SPWeb" i used to get the site URL of the SharePoint in a variable.
We have two Properties to control the master Page settings, CustomMasterUrl and MasterUrl
"Get-SPWeb" i used to get the site URL of the SharePoint in a variable.
We have two Properties to control the master Page settings, CustomMasterUrl and MasterUrl
Site Master Page
--- CustomMasterUrl
System Master Page
--- MasterUrl
Example:
$web = Get-SPWeb http://Dotnetsharepoint.com
$web.CustomMasterUrl =
"/_catalogs/masterpage/Custom.master"
$web.MasterUrl =
"/_catalogs/masterpage/Custom.master"
$web.Update()
If we have a site collection under a managed path like
"sites”, we can change using
“/sites/SITECOLLECTION/_catalogs/masterpage/Custom.master"
$web.CustomMasterUrl =
"/sites/DotnetSharePoint/_catalogs/masterpage/Custom.master"
$web.MasterUrl =
"/sites/DotnetSharePoint/_catalogs/masterpage/Custom.master
76B619F3A0
ReplyDeletehacker arıyorum
hacker kiralama
tütün dünyası
-
-
BA72F4CF63
ReplyDeletex takipçi satın al
Google Konum Ekleme
PK XD Elmas Kodu
Otobüs Simulator Ultimate Apk Para Hilesi
Weplay Para Hilesi
Happn Beğenenleri Görme Hilesi
Bannerlord Hile Kodları
İnstagram Abonelere Özel Görme Hilesi
lindyn oversized swivel accent chair
CB96FEB0A4
ReplyDeleteBeğeni Satın Al
Yabancı Takipçi
Takipçi Satın Al
ReplyDeleteSosyal medya hesaplarınızın hızlı ve etkili bir şekilde büyümesini istiyorsanız smm panel kullanımı oldukça faydalı olabilir. Bu panel sayesinde takipçi beğeni ve yorum gibi çeşitli hizmetleri kolayca satın alabilirsiniz. Ayrıca smm panel ile zamandan tasarruf ederek sosyal medya stratejilerinizi geliştirebilirsiniz. Herhangi bir dil veya teknik bilgi gerektirmeden kullanımı oldukça basittir. Böylece markanızın görünürlüğünü artırmak için en doğru adımı atmış olursunuz.
ReplyDeleteWhen customizing t-shirts, many prefer high-quality solutions to ensure durability and vibrant colors. One popular method is Dtf transfer for t shirts, which offers a smooth and professional finish. This technique is easy to apply and provides long-lasting results, making it a favorite among hobbyists and professionals alike. For those seeking reliable and efficient transfer options, exploring Dtf transfer for t shirts is highly recommended.