Category Archives: PowerShell

Install SharePoint 2013 w/SP-1 on Sever 2012 R2

Here is a quick 2 step process. First you need to get the required roles and features installed and properly configured. This simple PowerShell script does the job very nicely. Download the code and edit the drive location before you … Continue reading

Posted in PowerShell, SharePoint | Comments Off on Install SharePoint 2013 w/SP-1 on Sever 2012 R2

Download SharePoint 2013 Prerequisite Files

Installing SharePoint 2013 with no internet access is a challenge. You’ll first need to download the “Prerequisite” files below… Windows Identity Extensions: http://download.microsoft.com/download/0/1/D/01D06854-CA0C-46F1-ADBA-EBF86010DCC6/r2/MicrosoftIdentityExtensions-64.msi SQL Server 2008 R2 SP1 Native Client: http://download.microsoft.com/download/9/1/3/9138773A-505D-43E2-AC08-9A77E1E0490B/1033/x64/sqlncli.msi Microsoft Information Protection and Control Client (MSIPC): http://download.microsoft.com/download/9/1/D/91DA8796-BE1D-46AF-8489-663AB7811517/setup_msipc_x64.msi Microsoft … Continue reading

Posted in PowerShell, SharePoint | Comments Off on Download SharePoint 2013 Prerequisite Files

Starting Code Block to Access Many Servers in Powershell

I always start with this block of code when I need to perform a task on multiple servers. This code snippet reads a list of servers from a .csv file into memory and then cycles through each server to run … Continue reading

Posted in PowerShell | Comments Off on Starting Code Block to Access Many Servers in Powershell

Clear All Event Logs with PowerShell

I had a situation where I needed to clear all of the event logs on a 2008R2 Windows Server. I launched the event viewer and was going to manually clear each of the logs. Yikes! There are 394 event logs on my … Continue reading

Posted in PowerShell | Comments Off on Clear All Event Logs with PowerShell

i1912 SEL FULL – Delete all System Event Logs with Powershell

I have a Windows 2008 R2 server that is a dedicated host for my VM’s. I test a lot of applications, experiment with SharePoint farms, and occasionally blow things up.  This activity generates a boat load of errors which get written to … Continue reading

Posted in PowerShell, Server IT | Comments Off on i1912 SEL FULL – Delete all System Event Logs with Powershell

Install SharePoint Prerequsites From a File Share

This video is part 1 of 2. Here we show how to use a clever PowerShell script to download the SharePoint installation prerequisites to a file share. You will need to download the script file from CodePlex at the link … Continue reading

Posted in PowerShell, SharePoint | Comments Off on Install SharePoint Prerequsites From a File Share

Use PowerShell to Remove Search Service

Here we show how the admin can remove a SharePoint Search Service Application from their installation. This 4 minute video jumps right to the point with an actual “start to finish” example. Here is the notepad text from the video… … Continue reading

Posted in PowerShell, SharePoint | Tagged , | Comments Off on Use PowerShell to Remove Search Service