ShS's Blog

Just another sysadmin's weblog

Posts Tagged ‘Files’

Scripting Games 2010. Advanced Event 8 (Creating Text Files of Specific Sizes)

Posted by shs на 2010/05/25

Восьмое задание:

Event Scenario

Your IT networking team has asked for assistance. They are testing network throughput on the Layer 4 switches. In performing their tests, they need the ability to create text files that are specific sizes. They have specifically requested the following sizes: 100 KB, 1 MB, 10 MB, and 100 MB. Because there are several members of the networking team involved in the project, and because they will be working on many different machines during the survey, they have requested a script that will create text files of those specific sizes.
Читать далее…

Реклама

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

Scripting Games 2010. Advanced Event 3 (Creating Files and Folders)

Posted by shs на 2010/05/18

Третье задание:

Event Scenario

You need to create text files in a folder off the root, such as c:\fso. The text files are named after the class a student is taking, and the numerical year, month, and day. The text files will be used as templates a student can use to take notes in class. The contents of one of the files is seen in the following image.

 

The six classes being taken are: Shakespeare, World Literature, Calculus 2, Physics, Music Appreciation, and American Literature Since 1850.

  Читать далее…

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