Windows Supported Facts

Generated from docs/schema/facts.yaml . conditional entries may be absent on a host when their preconditions do not hold.

Example Output

$ facts --json
{
  "fips_enabled": false,
  "kernel": {
    "name": "windows",
    "release": {
      "full": "10.0.22631",
      "major": "10",
      "minor": "0",
      "patch": "22631"
    },
    "version": {
      "full": "10.0.22631"
    }
  },
  "networking": {
    "hostname": "winbuild01",
    "interfaces": {
      "Ethernet": {
        "ip": "192.0.2.30",
        "mac": "00:15:5d:00:00:01",
        "mtu": 1500
      }
    }
  },
  "os": {
    "family": "windows",
    "name": "windows",
    "windows": {
      "system32": "C:\\Windows\\System32"
    }
  },
  "path": [
    "C:\\Windows\\system32",
    "C:\\Windows"
  ]
}

Fact Contract

101 schema entries include windows.

FactTypeConditionalDescription
augeas.versionstringyesThe Augeas version reported by augparse, when Augeas is installed.
az_metadatamapyesThe Azure Instance Metadata Service tree, on Azure virtual machines.
cloud.providerstringyesThe cloud provider hosting the machine: aws, azure, or gce.
dmi.manufacturerstringyesThe manufacturer of the system.
dmi.product.namestringyesThe product name of the system (the hardware model on macOS).
dmi.product.serial_numberstringyesThe serial number of the system.
dmi.product.uuidstringyesThe hardware UUID of the system.
ec2_metadatamapyesThe EC2 instance metadata tree, on AWS instances.
ec2_userdatastringyesThe EC2 instance user data, on AWS instances that define it.
facterversionstringnoThe Facter compatibility version of the Facts engine.
fips_enabledbooleannoWhether the platform enforces FIPS-validated cryptography.
gcemapyesThe Google Compute Engine metadata tree, on GCE instances.
hypervisors.hypervmapyesHyper-V guest details, when running on Microsoft Hyper-V (including Azure).
hypervisors.kvmmapyesKVM guest details, when running on a KVM hypervisor.
hypervisors.kvm.googlebooleanyesWhether the KVM hypervisor is Google Compute Engine.
hypervisors.kvm.openstackbooleanyesWhether the KVM hypervisor is OpenStack.
hypervisors.virtualboxmapyesVirtualBox guest details, when running on VirtualBox.
hypervisors.virtualbox.revisionstringyesThe revision of the VirtualBox hypervisor.
hypervisors.virtualbox.versionstringyesThe version of the VirtualBox hypervisor.
hypervisors.vmwaremapyesVMware guest details, when running on VMware.
hypervisors.xenmapyesXen guest details, when running on Xen.
hypervisors.xen.contextstringyesThe Xen virtualization context: hvm or pv.
identity.privilegedbooleannoWhether Facts is running with root (or Administrator) privileges.
identity.userstringnoThe name of the user running Facts.
is_virtualbooleannoWhether the machine is a virtual machine or container.
kernel.namestringnoThe kernel name, such as Linux, Darwin, windows, FreeBSD, or Plan 9.
kernel.release.fullstringnoThe full kernel release reported by the system.
kernel.release.majorstringnoThe major component of the kernel release.
kernel.release.minorstringnoThe minor component of the kernel release.
kernel.release.patchstringyesThe patch component of the kernel release, when one is present.
kernel.version.fullstringnoThe kernel version, without any release suffix.
load_averages.15mdoublenoThe 15-minute system load average (null on Windows).
load_averages.1mdoublenoThe 1-minute system load average (null on Windows).
load_averages.5mdoublenoThe 5-minute system load average (null on Windows).
memory.system.availablestringnoThe display amount of free physical memory, such as 1.00 GiB.
memory.system.available_bytesintegernoThe free physical memory, in bytes.
memory.system.capacitystringnoThe percentage of physical memory in use.
memory.system.totalstringyesThe display amount of total physical memory, such as 16.00 GiB.
memory.system.total_bytesintegeryesThe total physical memory, in bytes.
memory.system.usedstringnoThe display amount of physical memory in use, such as 1.00 GiB.
memory.system.used_bytesintegernoThe physical memory in use, in bytes.
mountpoints.*mapyesA mounted filesystem, keyed by mount path.
networking.dhcpstringnoThe DHCP server of the primary interface, when known.
networking.domainstringyesThe DNS domain of the host, when one is configured.
networking.fqdnstringnoThe fully qualified domain name of the host.
networking.hostnamestringyesThe short host name of the machine.
networking.interfaces.*mapyesA network interface, keyed by interface name.
networking.interfaces.*.bindingsarrayyesThe IPv4 bindings of the interface (address, netmask, network).
networking.interfaces.*.bindings6arrayyesThe IPv6 bindings of the interface (address, netmask, network, scope6, flags).
networking.interfaces.*.dhcpstringyesThe DHCP server of the interface, when known (null on Windows interfaces without one).
networking.interfaces.*.dns_suffixstringyesThe connection-specific DNS suffix of the interface.
networking.interfaces.*.ipstringyesThe first IPv4 address bound to the interface.
networking.interfaces.*.ip6stringyesThe first IPv6 address bound to the interface.
networking.interfaces.*.macstringyesThe MAC address of the interface.
networking.interfaces.*.mtuintegeryesThe maximum transmission unit of the interface.
networking.interfaces.*.netmaskstringyesThe IPv4 netmask of the interface’s first binding.
networking.interfaces.*.netmask6stringyesThe IPv6 netmask of the interface’s first binding.
networking.interfaces.*.networkstringyesThe IPv4 network of the interface’s first binding.
networking.interfaces.*.network6stringyesThe IPv6 network of the interface’s first binding.
networking.interfaces.*.scope6stringyesThe IPv6 scope of the interface’s first binding, such as global or link.
networking.ipstringyesThe IPv4 address of the primary interface.
networking.ip6stringyesThe IPv6 address of the primary interface.
networking.macstringyesThe MAC address of the primary interface.
networking.mtuintegeryesThe maximum transmission unit of the primary interface.
networking.netmaskstringyesThe IPv4 netmask of the primary interface.
networking.netmask6stringyesThe IPv6 netmask of the primary interface.
networking.networkstringyesThe IPv4 network of the primary interface.
networking.network6stringyesThe IPv6 network of the primary interface.
networking.primarystringyesThe name of the primary interface.
networking.scope6stringyesThe IPv6 scope of the primary interface, such as global or link.
os.architecturestringnoThe operating system’s hardware architecture, such as x86_64 or arm64.
os.familystringnoThe operating system family, such as Debian, RedHat, Darwin, windows, or Plan 9.
os.hardwarestringnoThe hardware model of the machine, such as x86_64.
os.namestringnoThe operating system name, such as Ubuntu, Darwin, windows, or Plan 9.
os.release.fullstringnoThe full release number of the operating system.
os.release.majorstringnoThe major release number of the operating system.
os.windows.display_versionstringyesThe Windows display version, such as 24H2 (Windows 10 20H2 and later).
os.windows.edition_idstringnoThe Windows edition identifier, such as ServerDatacenter.
os.windows.installation_typestringnoThe Windows installation type, such as Server or Client.
os.windows.product_namestringnoThe Windows product name, such as Windows Server 2022 Datacenter.
os.windows.release_idstringnoThe Windows release identifier (the display version when available).
os.windows.system32stringnoThe native system32 directory, sysnative-aware for 32-bit processes.
patharraynoThe PATH environment entries of the Facts process, in lookup order.
processors.coresintegernoThe number of cores per processor socket.
processors.countintegeryesThe number of logical processors.
processors.extensionsarraynoThe instruction set architectures the processors support, including the base architecture and x86_64 microarchitecture levels.
processors.isastringyesThe processor instruction set architecture, as reported by the platform.
processors.modelsarrayyesThe processor model strings, one entry per logical processor.
processors.physicalcountintegernoThe number of physical processor sockets.
processors.threadsintegernoThe number of hardware threads per core.
sshmapyesThe structured SSH host key tree, when host keys are visible.
ssh.*.fingerprints.sha1stringyesThe SSHFP SHA-1 fingerprint of the SSH host key, keyed by key algorithm.
ssh.*.fingerprints.sha256stringyesThe SSHFP SHA-256 fingerprint of the SSH host key, keyed by key algorithm.
ssh.*.keystringyesThe public SSH host key, keyed by key algorithm.
ssh.*.typestringyesThe SSH host key type, such as ssh-ed25519, keyed by key algorithm.
system_uptime.daysintegeryesThe whole days the system has been up.
system_uptime.hoursintegeryesThe whole hours the system has been up.
system_uptime.secondsintegeryesThe seconds the system has been up.
system_uptime.uptimestringyesThe display form of the system uptime, such as 3 days.
timezonestringnoThe abbreviated time zone name of the system, such as UTC.
virtualstringnoThe hypervisor or container technology the machine runs under, or physical.