Konstantin Vlasenko

An engineer is someone who can make for a dollar what any fool could make for two. – Alan Kay

Monthly Archives: March 2010

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

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

#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 Services [...]

#PowerShell #SharePoint Getting Aborted TimerJob

Get-SPTimerJob | select Name | % {Get-SPTimerJob $_.Name} | % {$_.HistoryEntries} |? {$_.Status -eq “Aborted”}

Credential Security Support Provider (CredSSP) Protocol Specification

http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-CSSP%5D.pdf

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 (as [...]

#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

http://go.microsoft.com/fwlink/?LinkId=179124

#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                [...]

Follow

Get every new post delivered to your Inbox.