Method: Specinfra::Command::Windows::Base::IisAppPool.check_has_user_profile

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

.check_has_user_profile(name) ⇒ Object

[View source]

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

def (name)
  Backend::PowerShell::Command.new do
    using 'find_iis_component.ps1'
    exec "(FindIISAppPool -name '#{name}').processModel.loadUserProfile -eq $true"
  end
end