Wednesday, May 8, 2013

Comp230

Student Name| | company| | Date| | VBScript Modular interrogation ground Report VBScript: PC_Test.vbs Written by: Date: 03/27/2012 category: COMP230 professor: Professor   =================================== Menu impelled Computer / Network Tests This VBScript schedule is dispose using the Mod1_PCTests.cmd role Script stand by along args = WScript.Arguments WScript.Echo vbCrLf   subscribe casing args.Item(0) theme 1 even out WshShell = WScript.CreateObject(WScript.Shell) WScript.Echo The estimator name is ............ & axerophthol; _WshShell.ExpandEnvironmentStrings(%COMPUTERNAME%) WScript.Echo The Num of CPUs is .............. & world-wide antiophthalmic factorere; _WshShell.ExpandEnvironmentStrings(%NUMBER_OF_PROCESSORS%) WScript.Echo The Processor Architecture is ... & axerophthol; _WshShell.ExpandEnvironmentStrings(%PROCESSOR_ARCHITECTURE%) Case 2 strComputer = . fixed objWMIService = GetObject(winmgmts: _ & angstrom unit; {impersonationLevel=impersonate}!\ _ & international adenineere; strComputer & group A; rootcimv2) find colComputer = objWMIService.ExecQuery _ (Select * from Win32_ComputerSystem) For Each objComputer in colComputer  intRamMB = int((objComputer. quantityPhysicalMemory) /1048576)+1 Wscript.Echo System Name ...... & objComputer.Name _ & vbCrLf & Total RAM ........ & intRamMB & MBytes. Next Case 3 strComputer = .
Order your essay at Orderessay and get a 100% original and high-quality custom paper within the required time frame.
make up objWMIService = GetObject(winmgmts: _ & {impersonationLevel=impersonate}!\ & strComputer & rootcimv2) brand colOperatingSystems = objWMIService.ExecQuery _ (Select * from Win32_OperatingSystem) VBScript: PC_Test.vbs Written by: Date: 03/27/2012 figure: COMP230 Professor: Professor   =================================== Menu determined Computer / Network Tests This VBScript design is run using the Mod1_PCTests.cmd smokestack Script specify args = WScript.Arguments WScript.Echo vbCrLf  Select Case args.Item(0) Case 1 Set WshShell = WScript.CreateObject(WScript.Shell) WScript.Echo The computer name...If you want to get a full essay, bless it on our website: Orderessay

If you want to get a full information about our service, visit our page: How it works.

No comments:

Post a Comment