mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
windows_task docs: Correct syntax error and misspelled word
This commit is contained in:
parent
f4b1a350ce
commit
152f056335
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
...
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue