-
Sharepoint farm is in DomainA This works: new-spuser "DomainA\Domain users" -Permissionlevel "read" There is another domain, it is in a forrest that is trusted by our forrest This fails: new-spuser "TrustedForrestDomainB\Domain users" -Permissionslevel "read" The...
-
I am trying to run a powershell script form a remote dedicated powershell server. My problem is the script command is unable to retrive the list name from the followng command when trying to delete. $w.Lists.Delete([System.Guid]$w.Lists["Public Master Calendar"].ID) The above command returns...
-
Few days back, I posted something for installing all wsps scopped at webapplication level from a folder. What is the situation reverses? Suppose you are a SharePoint administrator who takes care of release management and in a farm that you own, there are boat loads of wsps installed, scopped at different...
-
Sometimes, as a SharePoint administrator, you will have to promote lots of code in the form of wsp files to different environment. So you have to ensure the following: Retrieve all *.wsp files from a given folder Iterate through these wsp files individually and deploy them with web application level...
-
We have a SharePoint 2010 document which we cannot remove from a library. After much analysis, it appears that the in place record retention and checkin are in conflict. The document appears to be set as both checked out AND locked as a record. Thus, you can't check it in because it is declared as...
-
Hi, I am begineer into powershell programming expecting help from you guys... Scenario-1 :- In sharepoint every user has mysite & there is Tags links showing some keyword on that section. I want to developed a powershell script so that I could delete these tags from individual user site or from site...
-
Hi, i have written a small migrationscript, which will get some information from a source website, export all items and then import it in a new created website. My Problem is that i cant find where the sitetemplateid is stored to query it with powershell and use this for creating a new website. Anybody...
-
I am trying to automate my PowerShell scripts to Upgrade a bunch of solution from any given folder. At the simplest form, I loop through all wsp files in a given folder and call: Update-SpSolution -LiteralPath "Path for wsp" -Identity "wspName" -GACDeployment on all of them. However...
-
I created some subsites using -Template STS#0 in PowerShell. Now I am looking for how to check what Template a subsite has used. I am using: Get-SPWeb -Identity My Subsite's Id | Select WebTemplate This is returning only STS. Why is the #0 part missed and how to get it?
-
Hi I have a task to scan throught all site collections and check to see if any site collections have any active workflow and get a site list. is the idea is possible to acheive at all? I really don't know where to start and thinking may be with powershell comdlets may be the answer. Any advice and...