The cmdlets tag has no wiki summary.
6
votes
2answers
623 views
When Would Install-SPSolution -Local be used
The use case for Install-SPSolution -Local is not clear to me.
This TechNet article Deploy solution packages (SharePoint Server 2010) suggests that I can use -Local to install solutions manually 1 ...
4
votes
2answers
118 views
What do I need to do in order to execute cmdlets (sharepoint 2010)
Need to execute an out of the box cmdlet for SharePoint 2010... but cannot for the life of me figure out how to execute them.
What am I missing?
I am trying to execute "Get-SPServiceApplication"
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 = ...
1
vote
1answer
139 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
2answers
622 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
753 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 ...
1
vote
1answer
38 views
How to open file in adobe reader using command line without checkout from Javascript?
I am working on print functionality. I am printing the PDF files (uploaded in SharePoint Library) using Adobe Reader command line from javascript. I am using ActiveX object to call the cmd. refer ...
1
vote
1answer
124 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
424 views
Errors when attempting to install a sharepoint 2010 feature
I'm attempting to install and activate a feature containing a Timer Job. When I execute the install-spfeature cmdlet I get the following error. What is the source of my error?
PS ...
0
votes
2answers
338 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
...
