ShS's Blog

Just another sysadmin's weblog

Posts Tagged ‘Event sink’

Scripting Games 2010. Advanced Event 9 (Logging Out Users Forcibly Based on a Program’s Launch)

Posted by shs на 2010/05/26

Девятое задание:

Event Scenario

Your users do not seem to know how to log out of their computers. This is a problem because each evening, a particular application runs as a scheduled task to back itself up to a network share. This occurs before the network backup job takes place. The storage manager has assigned you to write a script that will forcibly log out users from their workstations when a particular program launches. For the purposes of this example, use calc.exe.
Читать далее…

Реклама

Posted in PowerShell, Scripting Games 2010, Scripts | Отмечено: , , , | Leave a Comment »

Scripting Games 2010. Advanced Event 6 (Event Sink)

Posted by shs на 2010/05/21

Шестое задание:

Event Scenario

You have a group of files you would like to copy to several portable USB drives for a college course. You do not want to have to drag and drop every time a new drive is inserted into your USB port. You would like instead to automatically copy the files to the drive when the portable drive is inserted into your USB port.
Читать далее…

Posted in PowerShell, Scripting Games 2010, Scripts | Отмечено: , , , | 1 Comment »