Grad student needs volunteers for short survey.

Found this on Linked in.   Thought I would help out.


“Hello all. I am a Ph.D. student at Capella University. My specialization is IT Management. I am in the last phase of my dissertation and seeking volunteers in North America to participate in an online survey.

The subject of the survey is the level of effort for the management, administration, maintenance, and/or security of Network Servers. If you are a technical professional familiar with the efforts required to keep network servers going on a daily, weekly, or monthly basis, please take my survey. This includes technicians, administrators, managers and executives.”

Here鈥檚 the link: http://tinyurl.com/czf9yj


Thanks,


Steve

Every character counts

Now that www.twitter.com has taken over, sorry facebook and others myspace.  Posts are shrunk down to 140 characters.  At least for now until something else comes out. 馃檪


Here are some links people use to shrink long URL’s, like the ones created in my blog!


http://tinyurl.com  (refer to this as old school now) 馃檪
http://bit.ly
http://is.gd/


If you have others, feel free to post.


Have a great day!


Steve

Creating a scheduled task with multiple actions using command line in Windows server 2008

I had the need to create a scheduled task on a Windows Server 2008 server that executed mutiple actions.   For those who haven’t worked with Windows Server 2008 new task scheduler, there are links listed below to help with that.  My post assumes you know about task scheduler and want to go one step further and automate creating using the command prompt.


To get started, on a single machine.  Create the scheduled task you want to run, this would include all the necessary actions. 



Create multiple actions.



Export the scheduled task



Here is the output from the export step.  Notice at the bottom it has the EXEC command.   


<?xml version=”1.0″ encoding=”UTF-16″?>
<Task version=”1.2″ xmlns=”http://schemas.microsoft.com/windows/2004/02/mit/task“>
  <RegistrationInfo>
    <Date>2009-03-20T05:18:33.8972515</Date>
    <Author>DomainNameUserName</Author>
  </RegistrationInfo>
  <Triggers>
    <CalendarTrigger>
      <StartBoundary>2009-03-20T05:16:04.8833515</StartBoundary>
      <Enabled>true</Enabled>
      <ScheduleByDay>
        <DaysInterval>1</DaysInterval>
      </ScheduleByDay>
    </CalendarTrigger>
  </Triggers>
  <Principals>
    <Principal id=”Author”>
      <UserId>DomainNameUserName</UserId>
      <LogonType>Password</LogonType>
      <RunLevel>LeastPrivilege</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <IdleSettings>
      <Duration>PT10M</Duration>
      <WaitTimeout>PT1H</WaitTimeout>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context=”Author”>
    <Exec>
      <Command>c:windowssystem32notepad.exe</Command>
    </Exec>
    <Exec>
      <Command>C:WindowsSystem32WindowsPowerShellv1.0powershell.exe</Command>
      <Arguments>\FileServerFileSharetest.ps1</Arguments>
    </Exec>
  </Actions>
</Task>


To automate creation, run from the command prompt.  For my testing, I created the task under one name and when I used the command prompt, I gave the TN (task name) property something else so I could have both jobs on my test box.


C:WindowsSystem32schtasks /create /tn “RunSomeTaskWith2Actions” /RU DomainNameUsername /RP Password1 /xml \FileServerFileShareExportedFile.xml


PS – To create the task on several machines, you could use a powershell script or something to call WMI (win32_process) to create everywhere.  With a little scripting and this, the task could be automated.  I hope this is helpful. 


 Additional resources



Cheers,


Steve Schofield
Microsoft MVP – IIS

Enuf said…..IIS Team does it again! More updates, More cool stuff.

Per an annoucement by Mai-lan 

“Today, at the 2009 MIX conference in Las Vegas, the IIS team announced the release of 10 new extensions and launched a new end-to-end experience for discovering and installing community applications on IIS.This wave of IIS extensions span new functionality in request processing, server management, site/app management and discovery of community applications. You can check out each extension or get the Web Platform Installer to install all of them.

         Application Request Router (ARR) 2.0 beta, with disk cache and cache proxy support for edge configurations the IIS HTTP load balancer. ARR can be used as a complement to existing hardware load balancers, or as a standalone proxy.

         FTP 7.5 RTW, with extensibility  support for developers who want to customize this IIS7 FTP publishing service.

         WebDav 7.5 RTW, with support for both shared and exclusive locks to prevent lost updates due to overwrites.

         Advanced Logging beta for monitoring and measuring media and Web browsing experiences, rich and flexible data collection, client-side logging and real-time logging capabilities.

         Administration Pack for IIS7 RTW, with IIS Manager support for management of FastCGI, Request Filtering, ASP.NET authorization and custom error settings, and HTTP request filtering, and Configuration Editor for easier config management.

         IIS Snap-in for Windows PowerShell RTW, for management of the IIS configuration system through Windows PowerShell, along with 60 cmdlets for common management tasks in Powershell.

         Web Deployment Tool RC, which is a platform for Web deployment of IIS servers and applications that run on servers. This extension provides a foundation for administrators who want to synchronize and migrate Web servers in a web farm. Developers use Web Deployment Tool to deploy applications to a server or integrate with the new Windows Web Application Gallery.

         Database Manager RC, providing Web database management support for local and remote databases from within IIS Manager.

         Media Services 3.0 beta, which introduces the world to live streaming on IIS with multiple extensions, including Smooth Streaming and Advanced Logging. Our media extensions bring high quality media delivery to IIS customers as well as CDNs like Akamai.

         Web Platform Installer 2.0 beta, which installs community applications and its dependencies on Windows computers. See Introducing the Web Platform Installer for more details.

In addition, we have launched the Windows Web Application Gallery, a destination for users to discover and install community applications that deploy and run well on IIS. See Introducing the Windows Web Application Gallery for more information. We launched with Web Deployment Tool integration for a great set of partners including WordPress, Acquai Drupal, Gallery 2, SilverStripe, DotNetNuke, SubText, DasBlog, Umbarco, ScrewTurn and BlogEngine.NET. We also have updated our server Web sites with new www.iis.net content for PHP support on IIS and media, as well as a new section in Learn that talks about the Web Application Gallery and Web Platform Installer. You should check out the brand new www.microsoft.com/web site, which has been totally overhauled, and has a new IIS server Web page.”


Thanks IIS Team, keep up the great work.


Steve Schofield

Couple of good Sharepoint links

I’m working on hardening a sharepoint environment.   Here is a good reference.


Hardening a system.


http://technet.microsoft.com/en-us/library/cc262834.aspx


Debugging errors under the covers.  (This was handy)
http://www.sharepointblogs.com/michael/archive/2007/06/28/sharepoint-under-the-hood-see-real-error-description-and-callstack-stack-trace.aspx


Happy Sharepoint!