describe file('C:\pagefile.sys') do
  it { should exist }
end

describe command('wmic pagefileset') do
  its('exit_status') { should eq 0 } # if it was system managed it would be 1
  its('stderr') { should_not match (/No Instance\(s\) Available/) } # not system managed
end

Add a pagefile inspec test
Add a pagefile inspec test

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
