Skip to content

Instantly share code, notes, and snippets.

@tas50
Created June 12, 2017 21:41
Show Gist options
  • Save tas50/09272512b6252a7612cd3de95f211ceb to your computer and use it in GitHub Desktop.
Save tas50/09272512b6252a7612cd3de95f211ceb to your computer and use it in GitHub Desktop.
2008r2
{
"chef_packages": {
"chef": {
"version": "13.1.31",
"chef_root": "C:/opscode/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.1.31-universal-mingw32/lib"
},
"ohai": {
"version": "13.1.0",
"ohai_root": "C:/opscode/chef/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.1.0/lib/ohai"
}
},
"command": {
},
"counters": {
"network": {
"interfaces": {
"lo": {
"tx": {
"queuelen": "1",
"bytes": 0,
"packets": 0,
"errors": 0,
"drop": 0,
"carrier": 0,
"collisions": 0
},
"rx": {
"bytes": 0,
"packets": 0,
"errors": 0,
"drop": 0,
"overrun": 0
}
},
"0xe": {
"rx": {
"bytes": 0,
"packets": 0,
"errors": 0,
"drop": 0,
"overrun": 0,
"frame": 0,
"compressed": 0,
"multicast": 0
},
"tx": {
"bytes": 0,
"packets": 0,
"errors": 0,
"drop": 0,
"overrun": 0,
"collisions": 0,
"carrier": 0,
"compressed": 0
}
}
}
}
},
"cpu": {
"real": 1,
"total": 1,
"cores": 1
},
"current_user": "fauxhai",
"dmi": {
},
"domain": "local",
"etc": {
"passwd": {
"fauxhai": {
"dir": "/home/fauxhai",
"gid": 0,
"uid": 0,
"shell": "/bin/bash",
"gecos": "Fauxhai"
}
},
"group": {
"fauxhai": {
"gid": 0,
"members": [
"fauxhai"
]
}
}
},
"filesystem": {
"C:": {
"kb_size": 42947571,
"kb_available": 30484643,
"kb_used": 12462928,
"percent_used": 29,
"mount": "C:",
"fs_type": "ntfs",
"volume_name": ""
}
},
"fips": {
"kernel": {
"enabled": false
}
},
"fqdn": "fauxhai.local",
"hostname": "Fauxhai",
"idle": "30 days 15 hours 07 minutes 30 seconds",
"idletime_seconds": 2646450,
"ipaddress": "10.0.0.2",
"kernel": {
"os_info": {
"boot_device": "\\Device\\HarddiskVolume1",
"build_number": "7601",
"build_type": "Multiprocessor Free",
"caption": "Microsoft Windows Server 2008 R2 Standard ",
"code_set": "1252",
"country_code": "1",
"creation_class_name": "Win32_OperatingSystem",
"cs_creation_class_name": "Win32_ComputerSystem",
"csd_version": "Service Pack 1",
"cs_name": "WIN-P57F1MUCFE0",
"current_time_zone": -420,
"data_execution_prevention_32_bit_applications": true,
"data_execution_prevention_available": true,
"data_execution_prevention_drivers": true,
"data_execution_prevention_support_policy": 3,
"debug": false,
"description": "",
"distributed": false,
"encryption_level": 256,
"foreground_application_boost": 2,
"free_physical_memory": "3291244",
"free_space_in_paging_files": "4193848",
"free_virtual_memory": "7572000",
"install_date": "20170512173849.000000-420",
"large_system_cache": null,
"last_boot_up_time": "20170612142222.526250-420",
"local_date_time": "20170612143751.510000-420",
"locale": "0409",
"manufacturer": "Microsoft Corporation",
"max_number_of_processes": -1,
"max_process_memory_size": "8589934464",
"mui_languages": [
"en-US"
],
"name": "Microsoft Windows Server 2008 R2 Standard |C:\\Windows|\\Device\\Harddisk0\\Partition1",
"number_of_licensed_users": 0,
"number_of_processes": 41,
"number_of_users": 1,
"operating_system_sku": 7,
"organization": "",
"os_architecture": "64-bit",
"os_language": 1033,
"os_product_suite": 272,
"os_type": 18,
"other_type_description": null,
"pae_enabled": null,
"plus_product_id": null,
"plus_version_number": null,
"primary": true,
"product_type": 3,
"registered_user": "Windows User",
"serial_number": "00477-001-0000347-84501",
"service_pack_major_version": 1,
"service_pack_minor_version": 0,
"size_stored_in_paging_files": "4193848",
"status": "OK",
"suite_mask": 272,
"system_device": "\\Device\\HarddiskVolume1",
"system_directory": "C:\\Windows\\system32",
"system_drive": "C:",
"total_swap_space_size": null,
"total_virtual_memory_size": "8385852",
"total_visible_memory_size": "4193848",
"version": "6.1.7601",
"windows_directory": "C:\\Windows"
},
"name": "Microsoft Windows Server 2008 R2 Standard ",
"release": "6.1.7601",
"version": "6.1.7601 Service Pack 1 Build 7601",
"os": "WINNT",
"cs_info": {
"admin_password_status": 3,
"automatic_managed_pagefile": true,
"automatic_reset_boot_option": true,
"automatic_reset_capability": true,
"boot_option_on_limit": null,
"boot_option_on_watch_dog": null,
"boot_rom_supported": true,
"bootup_state": "Normal boot",
"caption": "WIN-P57F1MUCFE0",
"chassis_bootup_state": 3,
"creation_class_name": "Win32_ComputerSystem",
"current_time_zone": -420,
"daylight_in_effect": true,
"description": "AT/AT COMPATIBLE",
"dns_host_name": "WIN-P57F1MUCFE0",
"domain": "WORKGROUP",
"domain_role": 2,
"enable_daylight_savings_time": true,
"front_panel_reset_status": 3,
"infrared_supported": false,
"initial_load_info": null,
"install_date": null,
"keyboard_password_status": 3,
"last_load_info": null,
"manufacturer": "innotek GmbH",
"model": "VirtualBox",
"name": "WIN-P57F1MUCFE0",
"name_format": null,
"network_server_mode_enabled": true,
"number_of_logical_processors": 2,
"number_of_processors": 1,
"oem_string_array": [
"vboxVer_5.1.22",
"vboxRev_115126"
],
"part_of_domain": false,
"pause_after_reset": "-1",
"pc_system_type": 2,
"power_management_capabilities": null,
"power_management_supported": null,
"power_on_password_status": 3,
"power_state": 0,
"power_supply_state": 3,
"primary_owner_contact": null,
"primary_owner_name": "Windows User",
"reset_capability": 1,
"reset_count": -1,
"reset_limit": -1,
"roles": [
"LM_Workstation",
"LM_Server",
"NT",
"Server_NT"
],
"status": "OK",
"support_contact_description": null,
"system_startup_delay": null,
"system_startup_options": null,
"system_startup_setting": null,
"system_type": "x64-based PC",
"thermal_state": 3,
"total_physical_memory": "4294500352",
"user_name": "WIN-P57F1MUCFE0\\vagrant",
"wake_up_type": 6,
"workgroup": "WORKGROUP"
},
"machine": "x86_64"
},
"keys": {
"ssh": {
"host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
"host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
}
},
"languages": {
"ruby": {
"bin_dir": "/usr/local/bin",
"gem_bin": "/usr/local/bin/gem",
"gems_dir": "/usr/local/gems",
"ruby_bin": "/usr/local/bin/ruby"
},
"powershell": {
"version": "2.0",
"ws_man_stack_version": "2.0",
"serialization_version": "1.1.0.1",
"clr_version": "2.0.50727.5420",
"build_version": "6.1.7601.17514",
"compatible_versions": [
"1.0",
"2.0"
],
"remoting_protocol_version": "2.1"
}
},
"macaddress": "11:11:11:11:11:11",
"machinename": "Fauxhai",
"memory": {
"total": "1048576kB"
},
"network": {
"interfaces": {
"0xe": {
"configuration": {
"caption": "[00000012] Ethernet Adapter",
"database_path": "%SystemRoot%\\System32\\drivers\\etc",
"default_ip_gateway": [
"default_gateway"
],
"description": "Ethernet Adapter",
"dhcp_enabled": false,
"dns_domain_suffix_search_order": [
],
"dns_enabled_for_wins_resolution": false,
"dns_host_name": "Fauxhai",
"domain_dns_registration_enabled": false,
"full_dns_registration_enabled": true,
"gateway_cost_metric": [
0
],
"index": 12,
"interface_index": 14,
"ip_address": [
"10.0.0.2"
],
"ip_connection_metric": 5,
"ip_enabled": true,
"ip_filter_security_enabled": false,
"ip_sec_permit_ip_protocols": [
],
"ip_sec_permit_tcp_ports": [
],
"ip_sec_permit_udp_ports": [
],
"ip_subnet": [
"255.255.255.0",
"64"
],
"mac_address": "11:11:11:11:11:11",
"service_name": "netkvm",
"setting_id": "{00000000-0000-0000-0000-000000000000}",
"tcpip_netbios_options": 0,
"tcp_window_size": 64240,
"wins_enable_lm_hosts_lookup": true,
"wins_scope_id": ""
},
"instance": {
"adapter_type": "Ethernet 802.3",
"adapter_type_id": 0,
"availability": 3,
"caption": "[00000012] Ethernet Adapter",
"config_manager_error_code": 0,
"config_manager_user_config": false,
"creation_class_name": "Win32_NetworkAdapter",
"description": "Ethernet Adapter",
"device_id": "12",
"guid": "{00000000-0000-0000-0000-000000000000}",
"index": 12,
"installed": true,
"interface_index": 14,
"mac_address": "11:11:11:11:11:11",
"manufacturer": "",
"max_number_controlled": 0,
"name": "Ethernet Adapter",
"net_connection_id": "Ethernet",
"net_connection_status": 2,
"net_enabled": true,
"physical_adapter": true,
"pnp_device_id": "PCI\\VEN_0000&DEV_0000&SUBSYS_000000000&REV_00\\0&0000000000&00",
"power_management_supported": false,
"product_name": "Ethernet Adapter",
"service_name": "netkvm",
"speed": "10000000000",
"system_creation_class_name": "Win32_ComputerSystem",
"system_name": "Fauxhai",
"time_of_last_reset": "20000101000001.000000+000"
},
"counters": {
},
"addresses": {
"10.0.0.2": {
"prefixlen": "24",
"netmask": "255.255.255.0",
"broadcast": "10.0.0.255",
"family": "inet"
},
"11:11:11:11:11:11": {
"family": "lladdr"
}
},
"type": "Ethernet 802.3",
"arp": {
"10.0.0.1": "fe:ff:ff:ff:ff:ff"
},
"encapsulation": "Ethernet"
}
},
"default_gateway": "10.0.0.1",
"default_interface": "0xe"
},
"ohai_time": 1497303472.9793751,
"os": "windows",
"os_version": "6.1.7601",
"packages": {
"Oracle VM VirtualBox Guest Additions 5.1.22": {
"version": "5.1.22.0",
"publisher": "Oracle Corporation"
},
"Chef Client v13.1.31": {
"version": "13.1.31.1",
"publisher": "Chef Software, Inc.",
"installdate": "20170612"
}
},
"platform": "windows",
"platform_family": "windows",
"platform_version": "6.1.7601",
"root_group": "Administrators",
"time": {
"timezone": "GMT"
},
"uptime": "30 days 15 hours 07 minutes 30 seconds",
"uptime_seconds": 2646450,
"virtualization": {
"systems": {
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment