Merge pull request #1525 from spiffytech/patch-1

windows_task docs: Correct syntax error and misspelled word
This commit is contained in:
Adam Leff 2017-03-08 15:03:15 -07:00 committed by GitHub
commit 7667c9cb0a

View file

@ -5,13 +5,13 @@ title: About the windows_task Resource
# windows_task
Use the `windows_task` Inspec audit resource to test a scheduled tasks configuration on a Windows platform.
Microsoft and application vendors use scheduled tasks to perform a varity of system maintaince tasks but system administrators can schedule their own.
Microsoft and application vendors use scheduled tasks to perform a variety of system maintaince tasks but system administrators can schedule their own.
## Syntax
A `windows_task` resource block declares the name of the task (as its full path) and tests its configuration:
describe windows_task('task name uri' do
describe windows_task('task name uri') do
its('parameter') { should eq 'value' }
it { should be_enabled }
end
@ -100,4 +100,4 @@ Next Run Time: N/A
Status: Ready
Logon Mode: Interactive/Background
...
```
```