• Creating a SysInternals PSExec Console Task for OpsMgr 2007

    Pete Zerger wrote an article about creating a Console Task to launch a Remote Interactive CmdPrompt for MOM 2005 using PSExec. A customer asked if this also could be done for OpsMgr 2007, this was not as easy as I thought. It turned out that an extra space is added before the servername where psexec wants to connect if you create a Command Line  Console Task. I don’t know why this extra space is added after saving the Console Task yet.

    image image

    To solve this issue I created a Vbscript which has the servername as argument and can be used to start psexec from within a vbscript.

    ‘start startpsexec.vbs

    Option Explicit
    On error resume next

    Dim strServer
    strServer = CStr(WScript.Arguments(0))
    Set objShell = CreateObject("WScript.Shell")
    ObjShell.Run ("%comspec% /C psexec.exe \\" & strServer & " cmd.exe /S, 4, true")

    ‘End startpsexec.vbs

    Prerequisites

    • SysInternals PSTools (these need to be installed on all machines where the OpsMgr Console is being used)
    • Add the PSTools directory to the PATH System variable
    • Startpsexec.vbs script (this vbscript needs to be installed on all machines where the OpsMgr Console is being used)

    Steps:

    1. Save above Vbscript on a location where all OpsMgr Console have access to. (like d:\scripts\startpsexec.vbs)
    2. Create a new Console Command Line Task
    3. Give the Task a Name like “Remote Interactive CmdPrompt”
    4. Target the Task to Windows Server
    5. Enter at Application: %WINDIR%\SYSTEM32\cscript.exe
      Enter at Parameters: D:\Scripts\startpsexec.vbs $Target/Property[Type="MicrosoftWindowsLibrary6062780!Microsoft.Windows.Computer"]/DNSName$
      Disable Display output when this task is run.
      image
    6. Save Task

    Result:

    image

  • Reblog: Your feedback requested: Operations Manager 2007 Management Pack Quality Survey

    Source: System Center Operations Manager

    Microsoft and the Operations Manager 2007 product team would like to know what you think about the quality of Microsoft management packs for Operations Manager 2007. This community survey is your chance to rate the quality and features of several management packs to help Microsoft understand where they need to focus their time and effort to improve management pack quality. 

    This is a short survey (only 9 questions) allowing you to rate the individual quality of several management packs, and communicate your thoughts on monitoring features, tuning effort required - everything that makes for a good MP.

    The survey should only take about 5 minutes. We’d like to get your feedback by Monday, February 16th if possible. However, we’ll leave the survey open longer if responses are still coming in sufficient numbers.

    Click Here to take the survey

  • Reblog: Searching PoshCode repository from your Desktop in Windows 7

    Source: Live PowerShell With Karl Prosser

    “Search results from the PowerShell Code Repository right there on your desktop in windows 7 thanks to federated search and Jaykul adding OpenSearch support to PoshCode. YAY

    So how do you get this. Simply download this link  and save it as fileextention .OSDX to your windows 7 machine. Then Run it. 

    That is a simple OSDX file that is just an XML file describing the OpenSearch interface. the full text is here. and it comes from PoshCode itself.”

    Read more on source.

  • System Center Podcasts?

    Are you listening to Podcasts? Then you could take a look at some System Center Podcasts on our Podcast Home website.

    Here is a list but there are many more to be found.

    Successfully Monitor UNIX and Linux Alongside Your Windows Infrastructure with Operations Manager 2007 R2

    Duration: 00:51:44

    IT Professional
    Microsoft System Center
    January 22, 2009

    Introducing Operations Manager 2007 R2

    Duration: 01:01:55

    IT Professional
    Microsoft System Center
    January 15, 2009

    TechNet Radio: System Center Virtual Machine Manager

    Duration: 00:36:38

    IT Professional
    Microsoft System Center
    December 30, 2008

    Green Enterprise: System Center Configuration Manager 2007 R2 and Intel vPro/AMT Technologies

    Duration: 01:16:12

    IT Professional
    Microsoft System Center
    December 19, 2008

    TechNet Radio: How Microsoft IT Developed a Business Case for System Center Configuration Manager 2007

    Duration: 00:29:14

    IT Professional
    Microsoft System Center
    December 16, 2008

    Protect SQL Server 2008 with Data Protection Manager 2007

    Duration: 01:07:10

    IT Professional
    Microsoft System Center
    September 26, 2008

    TechNet Radio: What to look for at the PASS Community Summit 2008

    Duration: 00:19:14

    IT Professional
    Microsoft System Center
    September 2, 2008

    TechNet Radio: Performance Improvements in SQL Server 2008 Analysis Services

    Duration: 00:25:38

    IT Professional
    Microsoft System Center
    August 19, 2008

    TechNet Radio: How Microsoft IT upgraded a multi-terabyte database from Yukon to Katmai

    Duration: 00:28:49

    IT Professional
    Microsoft System Center
    August 12, 2008

    TechNet Radio: How Microsoft Does IT: Operations Dashboard

  • Reblog: Microsoft teams and products on Twitter

    Source: Adam Kinney

    Adam Kinney has tried to answer the next question: Which product teams or groups have Twitter accounts?

    Go and read more on his weblog.