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 ...

learn more… | top users | synonyms

2
votes
2answers
51 views

is it possible to compare environments?

I'm trying to find a tool or a PowerShell script which allow me to compare 2 environments, my goal is to compare my production farm and my pre prod farm and to compare as many settings as possible, ...
2
votes
2answers
529 views

Is it possible to change an existing list's URL?

Is it possible to change a list's URL from something like /site/Lists/ListName to /site/ListName in SharePoint 2010?
2
votes
2answers
128 views

Add AD user to sharepoint site

Please help me about adding new AD users, AD groups with Permission to sharepoint site. I can do it for lists and document libararys but adding to site seems to be different. This is what i do for ...
2
votes
1answer
88 views

SP2010 - Scopes.GetDisplayGroup error, page visit required first?

I'm having a very strange problem with the Scopes.GetDisplayGroup() method returning a "Specified cast is not valid" error. This is a cut-down version of the code I've been using: $SPWebApp = ...
2
votes
1answer
79 views

Changed URL to pages, but still redirects to Pages?

I have an external website which needs to show URL in lowercase only. I don’t want to use URL Rewrite or any third party tool. Instead we decided to change the actual URL’s of the Pages Library. I’ve ...
2
votes
2answers
179 views

How to collate/merge two different lists, with the same colums into one list

I have got two different lists. One is live updated by many users. The second list has the same fields and works as the master. I want to every day, at 6:00 o'clock a.m, merge List one with list two. ...
2
votes
3answers
3k 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 ...
2
votes
1answer
56 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
2answers
527 views

Powershell script to schedule daily backup of Sharepoint Sites and Subsites?

I have one site collection at root level and which contains more than 50 subsites. I am planning to schedule a daily job to take the backup of sharepoint subsites. I also want to check the size of the ...
2
votes
2answers
238 views

Powershell script to retrive all the customization done on sharepoint site

How to write a powershell script which will display the customization done on a sharepoint site - customizations like custom features, custom workflows, custom site def, infopath form etc...
2
votes
2answers
1k views

How to import term set with Use this Term Set for Site Navigation property selected using PowerShell?

$session = Get-SPTaxonomySession -Site $sitename $termStore = $session.TermStores[“Managed Metadata Application”] $group = $termstore.CreateGroup(“My New Group”) $group.Description = "My Term Group" ...
2
votes
2answers
49 views

How to know the root web memory size in a site colelction

I need to get the memory consumed by the root web of the site collection. How could we know this using powershell scripting? Any ideas, please share me. Note- My farm is running on MOSS 2007.
2
votes
3answers
654 views

Create a site collection policy programmatically

I have a requirement to create a site collection policy (retention policy) programmatically. It can be either a powershell script or in C# using Visual Studio 2010. I did a lot of research and am not ...
2
votes
2answers
3k views

get Items from Sharepoint-list

I've created a list in sharepoint by using visualstudio. The List is based on a custom contenttype. Because I want to delete the title field I've switched off inheritation of the Contenttype: ...
2
votes
3answers
589 views

Installed TFS 2010, where is SharePoint Management Shell?

I just did a fresh (single-server) install of TFS 2010, which has all the Sharepoint (WSS 3.0) components. But I want to move the SharePoint log files to a different drive, and all instructions point ...
2
votes
2answers
2k views

Can I edit a publishing page using Powershell?

I have a bunch (technical term) of publishing pages within a single subsite of my site collection that contain a broken link. I'm wonder if it's at all possible to use Powershell to perform a 'global' ...
2
votes
2answers
2k views

Mounted Office 365 sharepoint workspaces lose connectivity - how to fix?

I'm trying to get my sharepoint workspaces on office 365 to mount like network drives. I can achieve this following microsoft guidelines, but after a while this fails. The user has to login again to ...
2
votes
1answer
690 views

System.ArgumentNullException on feature enabling

I created a vs solution with site columns content type list template list instance. It compiles, it installs correctly, except when I click on activate I got the exception on the ULS logs: ...
2
votes
2answers
2k views

Restore-SPSite issue with versions

I'm trying to restore a SPSite using Restore-SPSite command. The command returns : Restore-SPSite : Your backup is from a different version of Microsoft SharePoint Foundation and cannot be ...
2
votes
2answers
2k views

Enable feature of SharePoint sandbox solution

I have a .wsp file that is deployed to the remote server by powershell script. The solution is deployed successfully and I can see the solution feature in the site collection features, I can activate ...
2
votes
1answer
2k views

Problem retracting a Sharepoint 2010 Foundation solution

I am retracting a globally deployed solution via Central Administration. Here is the info Name: familycareprl.wsp Type: Core Solution Contains Web Application Resource: No Contains Global ...
2
votes
1answer
2k views

Powershell - Update column with managed-metadata

I have used following PS script to update a manage metadata column. Not sure how to go by updating a managed-metadata column. I know I need to only populate with "10;#Wholesale Agreement" in ...
2
votes
2answers
252 views

Deleting Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows

how delete Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows.
2
votes
1answer
1k views

SharePoint 2010 - Add WebPart reference to PowerShell script

I want to add a new developed WebPart to a SharePoint site with PowerShell. How it is possible to add the WebPart reference from my WebPart to the PowerShell script? $web = Get-SPWeb $urlWeb ...
2
votes
2answers
365 views

Is there a way to assign a search server to a content database using PowerShell?

Is there a way to assign a SharePoint Foundation search server to a content database using PowerShell, either while creating an Sp-WebApplication using New-SpWebApplication or by updating an ...
2
votes
1answer
3k views

How do I export site security groups and memberships with PowerShell?

I'm looking for a PowerShell script (or tool) to export a site's groups and group memberships to a text file. These files would be used as backup for the current security configuration in case the ...
2
votes
1answer
1k views

Using powershell enable windows authentication on claims based authentication web application

I am creating a web application using Claims based authentication as follows: $databaseName = "WSS_Content_$port" $authMethod = "NTLM" write-host "Creating $title web application on port $port..." ...
2
votes
1answer
236 views

how to find the user profile property scope which user has set on his mysite - SharePoint 2010?

How can I find the list of colleagues/Team-members for a SharePoint 2010 user? and how can i find the scope for a specific user profile property (eg..birthday--->Everyone, Interest--->My Team)which ...
2
votes
1answer
425 views

Powershell script to add Content Types

Very new to Powershell 1.0 on Sharepoint 2007. I've got a site collection with many subsites. These subsites all have a document library called Reviews. What I need to do is add a new content type ...
2
votes
1answer
603 views

updating credentials using powershell

I am in a position where service credentials change quite a lot, I would normally use central admin to change the credentials but quite often the application pool that runs that is using the same ...
2
votes
1answer
720 views

Migrating My Sites to new dedicated site host

We have taken over a site where My Sites are placed in the Intranet web application. I want to migrate the My Sites to a dedicated host site. From what i have been able to find out so far, I will ...
2
votes
4answers
240 views

Administering SharePoint with PowerShell

I have a limited knowledge on Powershell, but from what I've seen, it can be very useful in admin/dev tasks. What would I have to develop to get a nice toolset for WSS/Stsadm administration? Is ...
2
votes
1answer
72 views

How to retrive items path in CSV file using powershell

I have Following PowerShell Script which downloads documents from document library with folders to a local drive. it also downloads metadata of each document in CSV file. How do I copy the folder path ...
2
votes
1answer
38 views

Powershell for Downloading Bulk Data From Document Libraries with MetaData and Log

I am Looking for a PowerShell Script which can download Bulk Data from SharePoint Document Library to a hard Disk with Metadata of each data in a CSV file. I also want log File for a documents which ...
2
votes
1answer
68 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 ...
2
votes
1answer
94 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 ...
2
votes
1answer
52 views

PowerShell Script To Find Where SharePoint 2010 Features Are Activated

I want a PowerShell script to find where Features are activated in a site collection and its sites/subsites Like for example feature "Enterprise feature"
2
votes
2answers
37 views

Require Condition for sitecollection not present with a value in array powershell

I am having an array containing 4 site collections, in that I need to check a condition that if a site collection " " is not present or doest contain a value in that array it should go in the loop. ...
2
votes
3answers
255 views

Differentiate between custom timer jobs and system timer jobs

Is there a way to differentiate between custom timer jobs and system timer jobs. Under Central Administration - Monitoring - Job Definitions I see all the jobs defined on the farm. I´m new to this ...
2
votes
1answer
336 views

Powershell: Cannot update taxonomy type column item with multiple values

I'm having a strange problem. I try to populate items' property which is of managed metadata (taxonomy) type and the update method doesn't work. This field has "allow multiple values" property ...
2
votes
1answer
127 views

Most effiecient method of checking/veryfing identical/missing content between 2007 and 2010?

We are currently migrating from sharepoint 2007 to 2010 on a dozen servers, due to technical reasons we cannot employ the usual methods and instead we are using the webservices and requests to ...
2
votes
1answer
96 views

How to Remove termset using powershell script

I want to remove a Termset that contains several terms. How do I accomplish this?
2
votes
2answers
192 views

SPImport Error: An event receiver has canceled the request

im running below Powershell Import CMD to import a site import-spweb "URL" -Path "E:\" -updateVersions Overwrite -includeusersecurity -nofilecompression -Force and this gets below error ....... ...
2
votes
3answers
402 views

PowerShell Error, Invalid URI: The format of the URI could not be determined

i have typed the following inside PowerShell:- PS C:\Windows\system32> Restore-spsite ? cmdlet Restore-SPSite at command pipeline position 1 Supply values for the following parameters: Path: ...
2
votes
1answer
184 views

Passing special characters in SharePoint Powershell

I need to add "Français" to search scope form the power shell to perform this task I'm using the xml to pass the values. But after it is added to the scope "Français" looks like "Français". the ...
2
votes
1answer
184 views

Activate webfeatures on all SharePoint online webs

I want to activate a webfeature on all subsites of a sitecollection in Office 365 / SharePoint online. I thought i can do the actions in a SiteCollection Feature, but that's throwing a timeout error. ...
2
votes
1answer
540 views

Remove-SPWebApplication not working if SPAdminV4 service is run by Local System?

I have sucessfully removed my Web Application with the following script: PS C:\Users\SP2013Farm> Remove-SPWebApplication http://portal.com -Confirm -Dele teIISSite -RemoveContentDatabases Confirm ...
2
votes
1answer
105 views

Change displayed username for Google claims based users

I have set up a SharePoint 2013 environment and am using Azure ACS to authenticate users via Google. This is working really well, however in the top right corner where my user is logged in, it's ...
2
votes
1answer
143 views

check for password protected office documents

I have a need to check through a site collection and find all password protected office documents. My organisation has decided on a policy where password protection on documents will no longer be ...
2
votes
1answer
3k views

Uploading a file using powershell and updating column values

I am trying to upload a file from a local drive to a sharepoint doc lib, this much I have been able to find, however, I also want to update a column relative to the file, foe example, I have a company ...