Questions tagged [cmdlets]
A cmdlet is a lightweight command that is used in the Windows PowerShell environment.
4
questions
6
votes
5answers
14k views
SPSite.allwebs returns error
First of all sorry if this is an obvious question, I searched a lot but can't find the solution.
When I open an spsite in powershell like this:
$spsite = Get-SPSite "https://adress"
And then I ...
2
votes
1answer
2k views
Exception Error When Running Basic PowerShell Script in SharePoint 2010
I have been doing some testing in our labs for some new features we are working on. I purposely created some orphaned sites using a scenario I found in a blog and I ran into a strange side effect. ...
2
votes
1answer
624 views
Set-SPOWeb -RequestAccessEmail
I found in this post that it is possible to Set-SPOWeb properties, in particular RequestEmailAddress. Obviously the guy did not dream it up and the number of upvotes suggests that it works for other ...
2
votes
1answer
1k views
SnapIn won't load, the Cmdlets now target the wrong Powershell Version, how'd that happen?
I've inherited a Server-2008 SharePoint-2010 Dev environment, the SharePoint Snapin fails to load; warning ...
Add-PSSnapin : Incorrect Windows PowerShell version 3.0. Windows PowerShell
version 2.0 ...