Method: Specinfra::Command::Windows::Base::File.check_is_system

Defined in:
lib/specinfra/command/windows/base/file.rb

.check_is_system(file) ⇒ Object

[View source]

38
39
40
41
42
43
# File 'lib/specinfra/command/windows/base/file.rb', line 38

def check_is_system(file)
  cmd = item_has_attribute file, 'System'
  Backend::PowerShell::Command.new do
    exec cmd
  end
end