Tagged Questions
1
vote
1answer
143 views
How to use Power Shell cmdlets with batch file?
I have bit interesting requirements. My client want to develop the Sharepoint 2010 administration UI from Java application. So I suggest him to user Sharepoint web services. As we all know its good to ...
1
vote
1answer
126 views
Exception Error When Running Basic PowerShell Script in SharePoint 2010
I have been doing some testing in our labs for some new features we are working on. I purposely created some orphaned sites using a scenario I found in a blog and I ran into a strange side effect. ...
0
votes
2answers
346 views
Powershell deployment with nant - problem with script arguments
I have a powershell script updating my solution:
Add-PSSnapin Microsoft.SharePoint.PowerShell
write-host $args[0]
Update-SPSolution -Identity PkbInfo.SP.wsp -literalpath $args[0] -GACDeployment
...
1
vote
2answers
626 views
Activate Feature in Powershell and specify custom properties
I want to activate a feature with custom properties. It is easy to do in onet.xml by providing Properties:
<Feature ID=“78277796-98D9-4276-B7D2-E3374AAC43D8“>
<Properties>
...
1
vote
3answers
756 views
Automated Sharepoint Task Creation with Powershell
This is a cross-post from stackoverflow, upon the suggestion of a user there.
My organization is experimenting with new processes to coordinate developers as they integrate their code into our main ...
2
votes
2answers
3k views
SPSite.allwebs returns error
First of all sorry if this is an obvious question, I searched a lot but can't find the solution.
When I open an spsite in powershell like this:
$spsite = Get-SPSite "https://adress"
And then I ...
2
votes
1answer
291 views
How to access the web-application hosted on the another Farm using SharePoint 2010 Management Shell?
I am trying to access the web-application that is hosted on the another SharePoint 2010 Farm using SharePoint 2010 Management Shell cmdlets but it is failing with the below error message
$spsite = ...
