Short powershell script to list all IIS Web Applications with the .net version, the state of the Web Application and the assigned user/identity. try{ Import-Module WebAdministration Get-WebApplication $webapps = Get-WebApplication $list = @() foreach ($webapp in get-childitem IIS:\AppPools) { $name = "IIS:\AppPools" + $webapp.name $item = @{} $item.WebAppName = $webapp.name $item.Version = (Get-ItemProperty $name managedRuntimeVersion).Value $item.State = (Get-WebAppPoolState -Name $webapp.name).Value $item.UserIdentityType = $webapp.processModel.identityType $item.Username = $webapp.processModel.userName $item.Password = $webapp.processModel.password $obj = New-Object PSObject -Property $item $list += $obj } $list | Format-Table -a -Property "WebAppName", "Version", "State", "UserIdentityType", "Username", "Password" }catch { $ExceptionMessage = "Error in Line: " + $_.
I am a huge fan of automation and powershell - this should explain why I really love chocolatey (a package manager to install software with powershell). Today I created a new feed for SharePoint 2013 Development Tools: http://www.myget.org/feed/Packages/sharepoint2013dev and uploaded the very cool SharePoint 2013 Search Query Tool to the chocolatey gallery. This tool helps creating and testing search querries - and search is everywhere in SharePoint 2013! After installing chocolatey you can get a great starter toolset with one line of powershell:
So the best way to adjust and edit MasterPages and DisplayTemplates in SharePoint 2013 is to map a network drive and edit the files directly there or copy them to this location. If your SharePoint is hosted on Windows Server 2012 this does not work without configuration – I am really surprised that the config wizard or the PreRequisite Installer does not add the required service – but lets just focus on the solution.
Had a small issue with my SharePoint 2013 MySite today, I could not update a User Profile in Central Admin – this is what I got from the ULS Log: ULSViewer: The exception is pointing us in the right direction. The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID 104963a2-b53c-4476-bc23-fa7d6453e42f) threw an exception. More information is included below. Unexpected exception in FeedCacheService.IsRepopulationNeeded: Cache cluster is down, restart the cache cluster and Retry.
the My Links “vanished” in SharePoint 2010 – they were no longer visible. The Problem: Some clients heavily utilize those server-side favorites. SharePoint 2010 The links are stored in the Database and the controls to manage the favorites and the page for that is there. Luckily the migration from SP2007 to SP2010 migrated the links, too. Just the control in the ribbon was missing – but there is a very good codeplex solution for that.
Here a small script to provision the Business Data Connectivity Service Application-without ugly GUID in the database name. Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Settings $ServiceName = “BDC Service” $ServiceProxyName = “BDC Proxy” $AppPoolAccount = “demo\spservices” $AppPoolName = “SharePoint Services App Pool” $DatabaseServer = “sp2013” $DatabaseName = “SP2013 BDC” Write-Host -ForegroundColor Yellow “Checking if Application Pool Accounts exists” $AppPoolAccount = Get-SPManagedAccount -Identity $AppPoolAccount -EA 0 if($AppPoolAccount -eq $null) { Write-Host “Please supply the password for the Service Account.
I created another episode of the SharePoint Toolbox: SharePoint 2010 BlobCache Manager. First time I reviewed the solution with a performance evaluation and the first time ever I contributed to a Codeplex project - interesting times! You can watch it in English or German. Abstract The SharePoint 2010 BlobCache Manager enables you to control the BlobCache settings from Central Admin. You don’t have to maintain these settings on each web frontend manually.
If you never heard of SignalR – it’s a real-time web framework for bi-directional communication between a client and server – in short: your server (here SharePoint) can notify a client that something very important happened. Let’s say you want to have Task List and a Dashboard where you can see how many tasks are open (you can watch this example here by Matt Menezes)– in real-time, without hitting F5 permanently and without having an AJAX function polling the list every second.
SharePoint Search Federation is a really underrated feature if you ask me. You can greatly improve your company’s knowledge management and create a single point of entry to all kind of data. Federation comes into play when you can not crawl the data source (too big or too complex). With SharePoint 2013 and the very cool query templates you have literally thousand of options (to be honest you had them before but with XSLT its not that much fun) to enhance your search results.
Finally I found some time for a new theme - maybe a motivation to release a couple of blog posts (I have a lot of drafts). The mobile support (fully responsive!) was really needed! Do you like it?