How to check who has access to a particular site in SharePoint $urlWeb = “http://mycompany/sites/mydepartment” Get-SPUser -Web $urlWeb | select UserLogin, @{name=”Exlicit given roles”;expression={$_.Roles}}, @{name=”Roles given via groups”;expression={$_.Groups | %{$_.Roles}}},Groups | format-Table -auto You will get somthing like this output: NEW VERSION: http://vlasenko.org/2014/05/07/sharepoint-2013-powershell-how-to-get-user-permissions-report/
Monthly Archives: March 2010
Beyond Acceptance Testing Framework
It looks like there are several acceptance testing frameworks (ATF) available (RobotFramework, Cucumber, Fitnesse on FIT, Fitnesse on SLIM, ZenTest, Concordion). Not sure if each of them are really ATF, but can say that Concordion is not a great choice. Fitnesse is the best ATF I know. But it’s up to you, which way to go.Continue reading “Beyond Acceptance Testing Framework”
#SharePoint declarative workflow does not start automatically
This behavior occurs because a security fix in Windows SharePoint Services 3.0 SP1 (KV: assume the SharePoint 2010 do the same) prevents declarative workflows from starting automatically under the system account. After you install Windows SharePoint Services 3.0 SP1, declarative workflows do not start automatically if the following conditions are true: The Windows SharePoint ServicesContinue reading “#SharePoint declarative workflow does not start automatically”
#PowerShell #SharePoint Getting Aborted TimerJob
Get-SPTimerJob | select Name | % {Get-SPTimerJob $_.Name} | % {$_.HistoryEntries} |? {$_.Status -eq “Aborted”}
Credential Security Support Provider (CredSSP) Protocol Specification
Re-Post: #SharePoint 2010 with Windows #PowerShell Remoting Step by Step
http://ow.ly/16JRWa Enable Remoting support on SharePoint Server box Enable Windows PowerShell Remoting Increase memory limit for remote shell (Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1000) Setup CredSSP support Setup client machine for Remoting Enable CredSSP support Store and use credentials for scripting A credential in Windows PowerShell is a object which contains username (as plain text) and password (asContinue reading “Re-Post: #SharePoint 2010 with Windows #PowerShell Remoting Step by Step”
#Chess Kids
http://www.chesskids.com/ Interactive chess lessons, quizzes, games and puzzles for kids Play chess against the computer FREE online chess books for kids – download and print
Listing Execution Policies (#PowerShell)
In PowerShell v.2, there are multiple execution policies. You should use this to view and check the settings: Get-ExecutionPolicy -List
Windows #PowerShell compiled Help for SharePoint Server 2010
#PowerShell mathematical calculations
http://blogs.technet.com/heyscriptingguy/archive/2010/03/06/hey-scripting-guy-march-6-2010.aspx The key to unlocking the ability of Windows PowerShell to create useful formulas is to leverage the static methods from the system.math class. You can easily see them by using the Get-Member cmdlet, as shown here: PS C:\> [math] | Get-Member -Static | Format-Table name, membertype -AutoSize Name MemberType —- ———- Abs Method Acos Continue reading “#PowerShell mathematical calculations”