CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of windows server
'***********************************************************************************************************************--
'***********************************************************************************************************************--
'This is a Visual Basic Script that hits a WebURL
'The WebURL hit is the one provided as the parameter (in this case through the windows task scheduler)
'Instructions: Set this .vbs as the action for a schedule task and in the parameters section pass in the WebUrl u wish to hit
'***********************************************************************************************************************--
'***********************************************************************************************************************--
 
'Create variable to hold passing in arguments
args = WScript.Arguments.Count
by Egli   October 30, 2011 @ 6:01pm
66 Views
no comments
 
 
C:\Users\administrator.OSM>dism /online /enable-feature /featurename:IIS-WebServ
erRole
 
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385
 
Image Version: 6.1.7600.16385
 
Enabling feature(s)
by nobodybutca   September 04, 2009 @ 1:38am
519 Views
no comments
 
param ([string]$computerName = (gc env:computername))
 
function GetExceptionType($type, $logEvent)
{
 if ($type -ne "Error") { $logEvent.ReplacementStrings[17] }
 else {
        $rx = [regex]"Exception:.([0-9a-zA-Z].+)"
        $matches = $rx.match($logEvent.ReplacementStrings[0])
        $matches.Groups[1].Value
 }
by David R. Longnecker   August 25, 2009 @ 12:53pm
675 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate