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