Windows PowerShell is Microsoft's task automation framework, consisting of a command-line shell and associated scripting language built on top of, and integrated with the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both ...
0
votes
1answer
13 views
Looking for a Powershell script to enable SharePoint Server Publishing on all sites in a site collection
I'm looking for a Powershell script to enable the SharePoint Server Publishing site feature on all sites in a single site collection or all site collections.
0
votes
1answer
26 views
how to get with powershell the list items which have old versions of a workflow running Part 2
After trying for several hours I am struggling with powershell to do this:
Please see my previos question here:
how to get with powershell the list items which have old versions of a workflow running
...
0
votes
2answers
25 views
Which of the foll. powershell script is correct way to install a timer job into SharePoint?
1: install-spsolution Solution.wsp -webapplication "webapplication" -GACDeployment –force
2: install-spsolution Solution.wsp -GACDeployment –force
Which of above is best practice?
0
votes
0answers
12 views
Need to get only items which have never checkdin
I am using this code to get ownership of the list items which are never checkedin, this works great.
I need to get the items which have no version history. How do I specify in my Caml Query please?
...
0
votes
1answer
15 views
how to export/import managed properties and mapping to align them accross environments
I have backed up a content db from prod to dev environments.
Everything works fine, but I noticed the managed properties are not aligned across environments
Obviosly I dont want to do this manually ...
0
votes
1answer
32 views
how to get with powershell the list items which have old versions of a workflow running
I have in the following screenshot many workflows, but some of them are abandoned by the users and I need to identify which ones. As I cant install sharepoint designer, then I need to do this with ...
2
votes
0answers
12 views
Check out to document owner using powershell
I have a document library with 200 + documents. I would like to check out all documents in the library to the document owner. I have seen a few powershell scripts that check in documents but not ...
0
votes
1answer
23 views
How to create setup for Sharepoint 2010 web application
I have patch 1 until 3. To do the installation for each solution package may take a long time which is it is needed a long step.
So, is there any solution or tools that I can simplify the ...
2
votes
1answer
30 views
Upload user profile images from desktop to sharepoint using a windows service
All,
I was so glad to find this community. I am sharepoint newbie and just started working on Sharepoint 2013. My task is to upload and set user profile images which are saved in a local disk (share ...
1
vote
0answers
18 views
Set SPNavigationNode to open in a new window using PowerShell in SharePoint 2013
Based off of several blog posts I attempted the code below:
$n1 = New-Object -TypeName "Microsoft.SharePoint.Navigation.SPNavigationNode" -ArgumentList "People", "http://myURL", $true
...
1
vote
1answer
34 views
SharePoint Doc Library Batch Delete
I am trying to write a batch Powershell script to delete the items from Sharepoint Document Library.
I could not delete them because I have to reference owsfileRef field in batch command as per the ...
0
votes
0answers
19 views
Powershell Script to get UPN of O365 Users from thier emails?
Has anyone developed a Powershell script to get UPN of the O365 Users, provided we have their email address?
Suggestions are welcome!
0
votes
1answer
40 views
The following exception occurred while trying to enumerate the collection: "Access is denied
I have the following powershellscript, and I would like to rewrite it so if it finds this exception it should continue to the next web.
$webapplication = Get-SPWebApplication ...
0
votes
1answer
21 views
Unable to remove site collection: Operation failed due to an error in Identity Mangement
I've restored a site collection to a different SharePoint farm. Now i am trying to delete the site collection:
Using Powershell:
Remove-SPSite http://farm/sites/Site_Collection
Error:
...
0
votes
1answer
32 views
Does a sharepoint administrator have to be a server administrator?
Specifically, I am looking at giving a user the permissions to run PowerShell commands, on a SharePoint 2013 server, remotely from their PC.
The user was a sharepoint administrator on sharepoint 2010 ...