Spotify on windows surface RT allows you to run spotify in your browser, meaning you can run the application on the Surface RT even if the spotify app is not available (yet?)

If you do not have the required cookie on your machine to participate in this beta, you are redirected to
The key here is to get the cookie or open the following site:

This evening I noticed that IE became not supported, it is possible to change the user agent string so that you are able to run spotify in your browser on the Surface RT.

Select the gear icon in the upper-right corner, select F12 developer tools > tools > Change user agent string to Chrome…


Hope it helps!

VN:F [1.9.22_1171]
Rating: 8.7/10 (6 votes cast)
VN:F [1.9.22_1171]
Rating: +4 (from 4 votes)

Count files by extension in a given directory by PowerShell

Very often I just want to know how many files with a specific extension are available in a SharePoint project.The following blogpost supported this goal.

Retrieves the amount of file based on a specific filter.

The Get-FileCountByFilter.ps1 script crawls a given directory and uses a user definied filter to count the files.

Specifies the path to the root directory to start searching and counting.

Specifies the filter that is used to count only the files that apply to this filter.

None. You cannot pipe objects to Get-FileCountByFilter.ps1.

Sytem.Int32. Get-FileCountByFilter returns the number of results found.

C:\PS> .\Get-FileCountByFilter.ps1 -StartDirectory c:\source\projects\

param (
	[Parameter(position=0, Mandatory=$true, ValueFromPipeline=$false, HelpMessage="Provide directory where all the result files are located.")]
Get-ChildItem $StartDirectory -Recurse | ? {-not $_.PSIsContainer} | group Extension -NoElement | sort count -desc



VN:F [1.9.22_1171]
Rating: 10.0/10 (4 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 2 votes)

E-Book Gallery for Microsoft Technologies

Download content for ASP.NET, Office, SQL Server, Windows Azure, SharePoint Server and other Microsoft technologies in e-book formats. Reference, guide, and step-by-step information are all available. All the e-books are free. New books will be posted as they become available.

To view white papers for Microsoft technologies, click here.
To view community and partner content for Microsoft technologies, click here.
To learn more about how to install and read e-book content on your device, click here.
To learn about new free e-books for Microsoft technologies, follow us on Twitter here .
To learn about new white papers for Microsoft technologies, follow us on Twitter here .
To provide feedback on the page or to suggest new content, click here.

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

How to get Distributed Cache size (SharePoint 2013)

To check the existing memory allocation for the Distributed Cache service on a server, run the following command at the Windows PowerShell (run as administrator) command prompt:

Get-AFCacheHostConfiguration -ComputerName YourServerName -CachePort "22233"

After starting a PowerShell session on a cache host, run this command without any parameters to use the connection settings that reside on the current machine. If you need to connect to a different cache cluster, use the Provider and ConnectionString parameters to specify the cache cluster explicitly.

Cache port number of the cache host. The default cache port is 22233.
The output type is the type of the objects that the cmdlet emits.

Cache Port
The cache port is used for transmitting data between the cache hosts and your cache-enabled application. The default is 22233.
Cluster Port
The cache hosts use the cluster port to communicate availability to each of their neighbors in the cluster. The default is 22234.
Arbitration Port
If a cache host fails, the arbitration port is used to make certain that the cache host is unavailable. The default is 22235.
Replication Port
The replication port is used to move data between hosts in the cache cluster. This supports features such as high availability and load balancing. The default is 22236.
HWM: The high watermark percentage of memory
When eviction should begin evicting objects that have not yet expired.
In other words: Removing objects from the cache that are not yet expired.
LWM: The low watermark percentage of memory
When eviction should begin evicting expired objects.
After reaching HWM, when eviction should stop evicting objects that have not yet expired.
In other words: Removing objects from the cache that are marked as expired and stop removing objects that are not marked as expired.
Not used in SharePoint

The purpose of this blogpost was to give you a quick answer on the question:
‘What is the Distributed Cache size on a specific server?’

For more information, please read this very detailed blogpost from Josh Gavant:


VN:F [1.9.22_1171]
Rating: 10.0/10 (10 votes cast)
VN:F [1.9.22_1171]
Rating: +7 (from 7 votes)