Tagged Questions
1
vote
1answer
488 views
Edit Search Dropdown ScopeDisplayGroup with Powershell Unauthorized
I am trying to edit the Searchbox Scopes dropdown ScopeDisplayGroup using Powershell using the following code (partly backwards engineered from the scope edit layouts page codebehinds):
...
1
vote
6answers
846 views
“Specified Cast is Not Valid” in PowerShell When Getting a Display Group for Search
When run, this code returns an error on the last line "Error Calling GetDisplayGroup with 2 arguments, Specified cast is not valid".
$site=get-spsite http://xxx/sites/xxx
...