Aaron Saikovski's Technical Blog

Covering all aspects of Microsoft Technology

Browse by Tags

Tagged Content List
  • Blog Post: First post for 2012 – Updated Setting the Machine Powerplan using PowerShell

    Happy 2012 everyone! Here is an updated Powershell script for setting the powerplan on a server in a much more efficient manner.   A big shout out to Amir Rothschild - PFE Extraordinaire & Shay Levy - PowerShell MVP – Thanks guys! Here is the updated PowerShell script:   1: ##############################################################################################################...
  • Blog Post: Get the application pool for a web application using the IIS7 PowerShell snap-in

      Recently I was playing around with the IIS 7 PowerShell snap-in and I found a simple way of obtaining what application pool a given web application is running under. The code is pretty simple and to do this, run from a standard PowerShell console: ##Import the IIS Admin module – you will need...
  • Blog Post: Optimising Office Web Apps rendering performance

      I was recently working with one of our large enterprise customers and they were experiencing rendering and performance related issues with Office Web apps in SharePoint 2010, specifically the word and PowerPoint viewing services. I did a bit of digging and changed some of the worker process/CPU...
  • Blog Post: Useful SQL PowerShell scripts – (Fixed download link)

      Here are some useful PowerShell scripts that I use to evaluate customer’s SQL environments. They make no changes to anything but are useful for reporting and verification purposes and write the output to a file in a nice and clean tabular format. Enjoy! The scripts are as follows: GetMAXDOP.ps1...
  • Blog Post: Disabling SharePoint 2010 MySite creation through PowerShell

      A colleague of mine and I were mucking about with PowerShell recently and came up with the following script to disable MySite creation for all Authenticated users. This setting is on by default as well as most of the other social features and in a large organisation you would want to turn this...
  • Blog Post: Setting your machine power plan via Powershell –repost

      I was recently at a customer site and we found by changing the power plan on a Windows Server 2008 R2 server to High performance really gave SQL server a nice boost, I recommend making the power change on physical servers only as virtual servers can have mixed if not catastrophic results.. We...
  • Blog Post: Simple way to obtain SharePoint 2010 Farm patch level

      The following PowerShell script will get the patch level of your farm: 1: #gets the build string for a SP2010 FARM 2: Set-ExecutionPolicy Unrestricted 3: Add-pssnapin microsoft.sharepoint.powershell -EA silentlycontinue 4:   5: $farm = Get-SPFarm 6...
  • Blog Post: SharePoint 2010 Solution Deployer–V1.1

    I have made updates to my very useful PowerShell solution deployer and though it would be useful to others, so here it is. I got tired of typing all the PowerShell deployment commands each time for a .WSP, so I bundled them up into a simple cmdlet that does all the work for you including waiting for...
  • Blog Post: Updating Content Hub Subscribers using PowerShell

    While testing some functionality for a client recently I found something interesting when publishing shared content types through the content type hub. After initial creation of the content types and adding subscribers all seemed to work well. That is all content types were ‘pushed’ down to all the subscribers...
  • Blog Post: Windows explorer - PowerShell shortcut

    I wanted the ability to be right click within windows explorer to enable me to run powershell from where I was in Windows explorer. The following registry change enabled me to do just that: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Folder\shell\PowerShell Here\command] @="\"C...
  • Blog Post: Installing and configuring SharePoint 2010 using powershell

    This is a great article for those who want to get a SharePoint 2010 farm up and running quickly and easily. I am working on augmenting this process further by creating an installer that configures, builds a complete SharePoint 2010 farm with all services running. For now check out the following article...
Page 1 of 1 (11 items)