×
Search results provided by Azure Search - read how I built it in this post.

Powershell

Max Melcher

1 minute read

I mentioned Chocolatey and Powershell quite often in the last time, today I created two little helpers and uploaded them to the chocolatey gallery. The two super-awesome (and simple) packages called SharePoint.HiveShortcut.Desktop and SharePoint.HiveShortCut.Explorer - and the name indicates it, they create shortcuts to the hive folder. I could just upload the two lines of powershell on this blog, but I totally like the Chocolatey approach - makes it easy for everyone.

Max Melcher

1 minute read

Today a new webcast on the SharePoint Toolbox was released. It’s about the very cool AutoSPSourcebuilder powershell script. Summary The webcast shows you how to create SharePoint 2013 installer package with bundled Prerequisites (so you can install SharePoint without Internet-Connection) and includes the SharePoint 2013 Cumulative Update December 2012. Language packs or even Service packs could be added, too. Its available in English and German. Feedback, questions or tool suggestions much appreciated.

Max Melcher

1 minute read

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: " + $_.