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

0
votes
2answers
193 views

Deploying a sharepoint web service with Powershell

Is it possible to install a web service to sharepoint 2010 using powershell rather than using a solution package? I'm currently doing this via a mapped folder/ISAPI approach inside a feature but would ...
1
vote
1answer
308 views

Getting a web service with Powershell

I wanted to update a web application web.config via Powershell, and found this post really helpful. I'm intrigued as to how to this bit of code works, particularly the $closedMethod / ...
2
votes
3answers
12k views

Install-SPSolution : This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application

I have a powershell script that deploys about 12 web parts. They have all been created in the manner through visual studio 2010 and are being deployed to sharepoint 2010. I am getting the following ...
4
votes
2answers
6k views

Powershell and checking for Site existence

I am an nube to Powershell, so I think I have a pretty basic question here.... How do I determine if a SPWeb exists? I want to perform some operations on a site based on a URL passed in as a ...
1
vote
1answer
176 views

List of Solution packages are in the solution store

How to find a list of Solution packages are in the solution store in sharePoint 2007 using Powershell?
2
votes
1answer
643 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 ...
4
votes
4answers
20k views

Iterating through a SharePoint List and Items with PowerShell

I am trying to iterate over a List and view properties on some items that live within that list, and down one or two levels; this is on a SharePoint 2010 server. So far I have been able to connect to ...
0
votes
3answers
738 views

Windows Powershell stsadm

I am quite new to windows powershell. I have tried to run the following command "stsadm -o setadminport. I get the error that the Term stsadm is not a recognized cmdlet, function etc. My reading ...
3
votes
3answers
3k views

Why are Taxonomy Term Stores always empty?

Using the following code I should be able to access the Taxonomy Term Stores: $site = new-object Microsoft.SharePoint.SPSite("http://localhost") $session = new-object ...
0
votes
3answers
2k views

Good PowerShell Tutorials for SharePoint People?

For those of us new to SharePoint 2010 and now needing to do much of our work through PowerShell, not knowing PowerShell really well. What have you used to get up to speed on PowerShell? Thanks!
1
vote
2answers
329 views

Convert a basic site to a full site in SharePoint 2010?

I'm not quite sure of the best way to ask this. I have some sites that I would call basic sites (SharePoint Foundation 2010 was WSS) that have very basic functionality and then I have other sites ...
0
votes
4answers
2k views

how to keep two sharepoint list in sync when located in 2 different servers

I two lists one is on site A which is on server A and the second one on site B on server B So i decided to use Powershell to export the list on site A and then grab the export and load it to the list ...
5
votes
3answers
6k views

Use Powershell to iterate through all UserProfile properties

The following script spits out all UserProfile properties for users on Sharepoint 2007: [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server") ...
0
votes
1answer
1k views

Cannot create a new configuration database with PowerShell

I want to create a new SharePoint 2010 farm using PowerShell. I use the following command: New-SPConfigurationDatabase When issuing this command (and providing the needed parameters) I get the ...
0
votes
1answer
851 views

Setup an item level auditing for a sharepoint document library

I would like to setup an item level auditing (Opening or viewing or downloading) for a sharepoint 2007 document library without enabling audit for the entire site-collection. This link may help us ...
1
vote
1answer
969 views

PowerShell Scripts to report and alert on site and subsite size

Can anyone help me to write PowerShell scripts that do the following: Report and alert on site and subsite size Report and alert on individual file size Collect search statistics
4
votes
1answer
4k views

Traverse through List of Documents using PowerShell

I am new to PowerShell and would like to achieve the following tasks on a SharePoint 2010 Document library: 1) Using PowerShell, how can I display the List of Documents in a simple Document Library. ...
0
votes
1answer
175 views

Exception setting ApplicationPoolPassword

Following the example in this blog post, I am trying to create a new Web Application with PowerShell. However, when I try the line: $WebAppBuilder.ApplicationPoolPassword = "password" I receive ...
0
votes
1answer
279 views

AddListItem to list by using powershell

Is it possible to add list items to a list by using powershell commands.
1
vote
4answers
1k views

Create a PerformancePoint Services App with custom database name via PowerShell

It seems New-SPPerformancePointServiceApplication cmdlet does not have -databaseName parameter as other cmdlets to create a service apps. I wonder if it is possible to create PerformancePoint services ...
2
votes
1answer
732 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 ...
0
votes
6answers
1k views

SPWebConfigModification is throwing an error

I am trying to update the web.config file through Powershell using the SharePoint class "SPWebConfigModification" however facing the issue mentioned below, please help me to fix this. ...
1
vote
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. ...
1
vote
2answers
1k views

Quotas on individual sites

Is there any way to apply storage quotas to individual sites, rather than the entire site collection?
2
votes
2answers
540 views

MOSS2007 PowerShell vs Console Application

I'm looking for a few examples of when you would be better off writing a PowerShell script vs writing a Console Application to perform some operations against the Object Model in a MOSS2007 or WSS 3.0 ...
2
votes
4answers
242 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 ...