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 ...
2
votes
0answers
12 views
Update Custom Forms with Powershell
I'm trying to update custom forms of SharePoint lists in a large amount of SharePoint 2010 subsites with powershell.
I'm not quite sure what the correct approach is. The form itself can be found as ...
0
votes
0answers
24 views
Indexed columns and the change of locale (SharePoint 2010)
If I change the locale under regional settings in SharePoint 2010, I get an exception like this:
The column "column1" in the list or library "list1" has been marked for indexing. Please turn off ...
0
votes
0answers
29 views
Get SharePoint Group Permissions Via PowerShell
I want to write a PowerShell script to list permissions of a specified SharePoint group on sites, lists and list items contained in a site collection.
I have written a draft script using the ...
1
vote
1answer
33 views
“User cannot be found.” error in Powershell
I am writing a PowerShell script to re-sync my users to the AD because of a problem I have described Here. From time to time I get a "Set-SPUser : user cannot be found." error but when I call the same ...
0
votes
2answers
33 views
Backup-SPFarm hangs silently on MOSS 2013
I have a 3-server SharePoint 2013 farm (db, app, web) set up and working enough to put in some demo content, and am trying to configure backups. I've successfully backed up using Central Admin but I'm ...
0
votes
1answer
20 views
PowerShell: Upload documents to folder in document library
I'm using SharePoint Foundation 2010.
I have to make a PowerShell script that copies a structure found on a network share. Its all good except for one thing... I know how to make Document Library's ...
0
votes
1answer
24 views
Enable-SPFeature : The Feature is not a Farm Level Feature and is not found in a Site level defined by the Url
I'm trying to activate a web level feature using powershell with the following command:
Enable-SPFeature –identity 3ad4787b-e859-432c-be22-c772725e0dbc -URL ...
0
votes
1answer
61 views
Powershell Script to generate site collection administrators, site URL, Site Name,Members in the group named 'owners'
I have a requirement currently to generate all the Sharepoint site in a Web application with the following information:
Site URL
Site Name
Site Collection Administors : ID or name
Members in the group ...
0
votes
0answers
58 views
Workflow history no longer accessible-object reference error WrkStat page
The workflow history was >6m records, so I have redirected all workflows to rite to other custom history logs while running a job to purge 1k records every 15 minutes. When I attempt to check the ...
1
vote
1answer
37 views
How can I find the Feature Activation Dependency Powershell
I am running a recursive function that activates many features in powershell however I need to find the child feature a feature is dependent on before it is activated. How can I do this in powershell.
...
1
vote
0answers
46 views
Application pool not visible in IIS, SharePoint or PowerShell
I have a PowerShell script that creates a web application using New-SPWebApplication. It crashed for some reason a while back and now it keeps telling me the application pool exists. I've looked in ...
2
votes
1answer
37 views
RoleAssigments are being assigned by default to all new pages
I am pretty new to SharePoint, so please let me know if there is some more info or clarification required. I am creating a webapplication with certain SP groups, libraries and pages in that order by ...
1
vote
1answer
113 views
Powershell script to iterate all site collections and set another quota template
I have a site collection with inside of it alot of sub site collection for each mysite instance. I would like to create a powershell foreach script which will set a quota template to each site ...
2
votes
1answer
28 views
PS Script to output members of targetted groups into a file
I have an auditing / documentation requirement around my SP Environment upon which members of specific groups need to be listed. Now, rather than doing this manually via screen-shots and / or cut and ...
2
votes
0answers
39 views
Import-Spweb is changing the user id if the user does not exist in the organisation anymore
We had to restore a list (which has versionsing enabled) in our PROD enviornment SP 2010 August CU 2012. We used the following command metioned below:
Import-SPWeb http://example.com/projects/myList ...