#SharePoint 2010 #PowerShell: How to get user permissions report

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/

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”

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”

#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”