Sha256: 27e9ca9005a5aa26cc8ed5e020f5e6969ed4912f6c0a57c7d5bdd83f4c00fc0a
Contents?: true
Size: 775 Bytes
Versions: 1
Compression:
Stored size: 775 Bytes
Contents
require '..\lib\inetmgr.rb' cfg = IisConfiguration.new sites = cfg.get_sites pools = cfg.get_application_pools pools.each do |p| puts "\r\nPOOL: #{p.name}" puts "----" puts " - process_model:" puts " - identityType: #{p.process_model.identityType}" puts " - recycling:" puts " - logEventOnRecycle: #{p.recycling.logEventOnRecycle}" puts " - periodic_restart.schedulecount: #{p.recycling.periodic_restart.schedule.size}" end sites.each do |s| puts "SITE: #{s.name} #{s.bindings.size}" s.bindings.each do |b| puts "binding: #{b.protocol} - #{b.binding_information}" end s.applications.each do |a| puts " app: #{a.path}" a.virtual_directories.each do |d| puts " dir: #{d.path}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
inetmgr-0.2.0-mswin32 | test/print_iis_config.rb |