operationsguy

  • IIS7 WMI Acess through Powershell to recycle Apppools

    Recently while performing application installs, I had to recycle apppools on around 100 servers I was thinking this should be easy, it should be just a one liner Invoke-command -computername (get-content \\utilityserver\serverlist\servers.txt ) -scriptblock...
  • Remotely tweak powershell execution policies without powershell remoting.

    Today I was trying to schedule a powershell command to execute via scheduled task on all my machines. Copied the powershell script to execute on all the machines ran a for loop as follows to create the scheduled tasks on all the machines. for /f %i...
  • SharePoint 2010 sandboxed code solutions and web proxy.

    Recently I was working on an escalation where my customer has a sandbox code solution deployed into his site collection, the sandbox site collection was calling an external URL to fill in some data into the webpage and it is not working. The same code...
  • Automated Eventlog export - Windows 2008 & 2008 R2

    It is common to receive requests for errors and exceptions from production servers by application development teams, providing this data on demand is less efficient due to the overhead of support procedures , hence the need to automate this . For environments...
  • Add security for default WSMAN configuration - Remotely

    Recently I was chatting with one of my friends about Powershell remoting and WSMAN . He was telling about how he got flagged by security for running WINRM on 5985 which is the default port on windows 2008r2 . I was like are you serious ? 5985 is not a...
  • Provide access to private keys -- Commandline vs Powershell

    On www.microsoft.com we have a number of applications that use certs to access other web services, the way we do is by installing the certificate with the private key into the local machine store and provide access to the application pool identity to...
  • Hey dude , one of your servers is broken .Part-2

    When it comes to to IIS versions, there was a major face lift starting with IIS6 and with that the resource kit got beefy too. For this post we will cover tinyget in the IIS 6 resource kit if you are looking for a download location http://www.microsoft...
  • Hey dude , one of your servers is broken .Part-1

    For engineers who manage IIS clusters one of the main challenges is how to keep content in sync across the farm . One broken server in a farm can cause a broken user experience as when request bounce back between machines they may land on a machine that...
  • Sharepoint 2010 password changes with Powershell. Relief from stsadm.

    For operation engineers who are experienced with Sharepoint 2007 know the old stsadm process to change passwords http://support.microsoft.com/kb/934838 is cumbersome . Sharepoint 2010 is here with powershell integration making it easy to change the passwords...
  • My new blog

    My name is Vincent Baby .I am a member of the MSCOM operations team which manages some of the important Microsoft sites like www.microsoft.com , mobile.Microsoft.com ,downloads.microsoft.com, search.microsoft.com and its associated publishing systems...