windows_task docs: Correct syntax error and misspelled word

This commit is contained in:
spiffytech 2017-03-01 13:43:26 -05:00 committed by GitHub
parent f4b1a350ce
commit 152f056335

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
...
```
```