The following Powershell script modifies the browser file handling property of a web application to Permissive. You can change the script the change the property to Strict by modifying line 6:
$webApp = Get-SPWeb "http://<YourWebApplication>
#Find your document library
$docLibrary = $webApp.lists["Doc Lib Title"]
$docLibrary | Get-Member
#Change the Browser File handling property
$docLibrary.BrowserFileHandling = "Permissive"
$docLibrary.Update()
To learn more about browser file handling, visit this page.
$webApp = Get-SPWeb "http://<YourWebApplication>
#Find your document library
$docLibrary = $webApp.lists["Doc Lib Title"]
$docLibrary | Get-Member
#Change the Browser File handling property
$docLibrary.BrowserFileHandling = "Permissive"
$docLibrary.Update()
To learn more about browser file handling, visit this page.
Hi, I have run this script but I get a "no property found error" on the library BrowserFileHandling property. Please kindly help on how I resolve this. Thanks.
ReplyDelete