Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <#
- .SYNOPSIS
- Runs a loop in the background that will periodically create a file that shows processing power and performance.
- .DESCRIPTION
- This is a template script and this is where you would type a more detailed description of the command.
- .EXAMPLE
- This is a template script and this is where you would type your first example of how to use this command.
- .EXAMPLE
- This is a template script and this is where you would type your second example of how to use this command.
- #>
- #Written by Dustin Brooks on June 20th, 2017
- #Initialization
- #This section contains variable declarations and assignments
- $time #I need the time variable so my script will know when to execute the code to keep the processing record
- #At present I can only think of $time as a required variable. Once this variable is met in the loop, the rest of script is using cmdlets to create the file I want into the specified directory
- #Functions
- #This section contains function definitions
- #OUTPUT FOR THE USER
- #The output should be a file created in a specified directory
- #INPUT BY THE USER
- #The user should only need to run this looping script and the rest should be taken care of. Could potentially make a command that outputs the last, or last few, file contents created by the loop
- #Main Body/Loop
- #This section contains the code that implements the main function of the script
- #The main loop should be checking the time of the machine and executing the script when that $time is true.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement