- Home >
- Programming >
- Cyber Security Discussion
Programming
Cyber Security Discussion
Question Description

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.
Final Answer


Carnegie Mellon University
Completion Status:
100%
Review
Review

Anonymous
Top quality work from this tutor! I’ll be back!

Anonymous
It’s my second time using SP and the work has been great back to back :) The one and only resource on the Interwebs for the work that needs to be done!

Anonymous
Thanks, good work

Studypool
4.7

Trustpilot
4.5

Sitejabber
4.4
Similar Questions
easy java assignments
lab2 cosc 236.doc lab2 cosc 236.doc 2 java programming assignments ,, very easy ....
java problem
check the file please...Assignment2-java.doc ...
java assigmnt
lab1 cosc 236.doc ...
Enrichment
Enrichment Assignment E1...
Networking
Ethernet is a common method of moving packets along a network.
Review the Advanced Ethernet Switching modes in your Busine...
Java Help
Write a Java program to determining the day number (1 to 366) in a year for a date
that is provided as input data. As ...
Related Tags
Book Guides
Twelve Years A Slave
by Solomon Northrup
A Brief History of Humankind Sapiens
by Yuval Noah Harari
The Lord of the Flies
by William Golding
The Tipping Point
by Malcolm Gladwell
Animal Farm
by George Orwell
Harry Potter and the Sorcerers Stone
by J. K. Rowling
My Brilliant Friend
by Elena Ferrante
Of Mice and Men
by John Steinbeck
Breakfast at Tiffanys
by Truman Capote

Studypool values your privacy. Only questions posted as Public are visible on our website.
Most Popular Answers

Short program for uploading to net.
Short program for uploading to net.
I want a program which, for instance, can be uploaded onto YouTube and when the site is clicked, I want the program to respond in real time with a message that reads:“It’s [current time]. Do you [a question]?” I’d like the time to change as the current time changes -- a tick-tock or a little animation would be nice -- and I’d like the program to be flexible enough for me to add text and perhaps other media as the clock ticks. I’m not sure, but I think it can be written in Java or Javascript and, with a little guidance, I can probably manage it. I’ve written programs and understand the logic and flow of programs and such, but I don’t have that much time for this idle pursuit. Any help will be most appreciated. Thank you.

Powershell script for starting service and running remote script
Powershell script for starting service and running remote script
PowerShell script for starting service and calling external script on remote machine.. I have most of the script written where it will start the w3svc service (which is what I need). Then I have added an extra elseif statement which will be used to call an external script for each machine listed in servers.txt. These may be powershell scripts or bat scripts.. All I am looking to do is look at servers.txt pull in the server name and then look at the name/location of the script residing on that server and run that script (on the remote server) with a start or stop command. I then am using a write-output in both operations to log exactly what has been done to a log file. Once I get this start script going then I need to use the same script to create a stop script which will use the same servers.txt to stop the w3svc service and run an external script with a stop argument.I am adding the code that I have already. I have tried to use WMI for this so I can leverage Powershell 3 but am not opposed to something different if it is cleaner. Also if there is anything that needs cleaning up in my current script I would appreciate the input.SVCStart.ps1# Setup trap to catch exceptionstrap [Exception]{write-error $("TRAPPED: " + $_.Exception.Message);}$start = $true#Assuming headers of "computername","operation","service" $computers = Import-CSV 'C:\scripts\servers.txt' foreach($computer in $computers){write-host $computer.computername $computer.service $computer.operation$objWMIService = Get-WmiObject -Class win32_service -computer $computer.computername -filter "name = '$($computer.service)'"if($computer.operation -eq "service"){if($objWMIService.state -ne "Running"){$objWMIService.StartService() | Out-Null;# Refresh the object instance $state = (Get-WmiObject Win32_Service -Filter "Name = '$($computer.service)'" -computer $computer.name).stateWrite-Output "$($computer.service) is ""$state"" on $($computer.name)" | Out-File C:\scripts\log.txt -append}}elseif($computer.operation -eq "script"){ $operation = [IO.File]::ReadAllText(".\external.ps1")Invoke-Expression $serviceWrite-Output "$($service.service) is ""$state"" on $($computer.name)" | Out-File C:\scripts\externallog.txt -append#As part of the ElseIF I have to call whatever script (may be different names) for each server listed under service. # As part of calling the EXTERNAL script I need to be able to give it a start of stop argument. # so this portion of the start script is going to be pulling from the third placement on server.txt under the header of service.#[the script will live on the remote server, this is where I want to use psremoting (or WMI If possible )to run the script *on* the remote server. } } Servers.txtcomputername,operation,service <--headersc1399,w3svc,c:\scripts\external.ps1 <--Server name, service, external script locationWn2k8srv,script,c:\scripts\dotwhatever.batXcutionDT,w3svc,c:\scripts\vstudio.ps1XcutionSRV,script,c:\scripts\getprocess.ps1Optional Information: Language (or Software): OtherAlready Tried: I have written most of the script but I cant figure out how to use invoke-expression to run the external script and add in a start argument..

TFT2 task for the revision
TFT2 task for the revision
Hi i have task to complete my term paper. I have total 4 tasks, out of that 3 i completed which required revision to accomplish goal and avoid no more than 30 % matching content. I have uploaded in following location. http://www.mediafire.com/?ur5upbi5bm72j Whole task explanation is in TFT2.txt. First three task (which required revision TFT2_Task1.rtf/TFT2_Task2.rtf/TFT_Task3.rtf) . Let me know , appriciate your help 1>Should not match content more than 30%2> Any revision or modification suggested by evaluate needs to update until get thru with the pass. :)Thank youdd
Have a homework question? Get help from verified tutors now!