Tagged Questions
0
votes
0answers
146 views
New-SPSite gives ERROR: Failed to OpenThreadToken, LastError=1008 in Timer job
I have a timer job that is running some powershell.
The script creates a content database and then attempts to create a site collection. If run from powershell prompt the script works fine. If I ...
1
vote
4answers
394 views
Advantages/disadvantages of Timer Jobs vs. PowerShell scripts
I've worked with several examples of both SharePoint Timer Jobs and PowerShell scripts, some of them doing the same things as the other. In my experience, PowerShell scripts are far more flexible, ...
0
votes
1answer
95 views
How do I run the social timer jobs in powershell?
As title says. I've applied ratings to documents and they, obviously, haven't appeared yet. Is it possible to use powershell to explicitly force these timer jobs to run immediately?
I believe the ...
0
votes
2answers
2k views
Restore-SPSite reports “No content databases are available for this operation…”
I've run a site collection backup using Backup-SPSite. I then deleted the Site Collection using CA. Then tried to restore is using Restore-SPSite. Got the error "No content databases are available ...
6
votes
4answers
2k views
How can I schedule the User Profile Service to run a full sync weekly?
We are running SharePoint Server 2010 and have not yet applied SP1. User profile incremental sync is not picking up all of the group membership from AD. Starting a full sync seems to rectify the ...
2
votes
4answers
1k views
Executing powershell script from a timer job
Is it possible to call a powershell script from a sharepoint timer job ? or are there any security issues involved in doing so?
Regards,
Jeevan
1
vote
2answers
2k views
Create sptimer job in c# and/or powershell
Can anyone tell me how to go about creating a timer job for sharepoint 2010 either using C# or Powershell.
All the best
0
votes
1answer
2k views
Delete timer jobs
I have a couple of timer jobs that I cant get rid of. I think they got created as a consequnce of creating a custom job.
Also, if I use powershell Get-SPTimerJob then I get an exception.
...