Get started › Connect a provider
Hyper-V
Connect flo8t to a Hyper-V host or failover cluster over WinRM with a domain account. It doesn't need to be an administrator.
Checked on a two-node Windows Server 2022 failover cluster.
Connection
Section titled “Connection”| Field | Value |
|---|---|
| Host / IP | The host, or the cluster name or address |
| WinRM Port | 5986 with HTTPS (recommended), 5985 without |
| Username, Password | A domain account, for example CONTOSO\svc-float. flo8t signs in with NTLM |
| Use HTTPS (SSL) | On for port 5986 |
| Validate SSL Certificate | Off with self-signed or internal certificates flo8t doesn’t trust |
| Failover Cluster (WSFC) | On for a cluster, with its Cluster Name |
For a cluster, flo8t also connects to every node by its own address, with the same port and account. Each node needs the setup below and must be reachable from flo8t.
Kerberos and client certificates are not supported yet.
Prepare the account
Section titled “Prepare the account”On every host or cluster node, add the account to four local groups:
$account = "CONTOSO\svc-float""Remote Management Users", "Hyper-V Administrators","Performance Monitor Users", "Event Log Readers" | ForEach-Object { net localgroup "$_" $account /add }On every node, let Remote Management Users open a WinRM shell. By default only administrators can, and without this every call fails with “Access is denied”:
$sddl = (Get-Item WSMan:\localhost\Service\RootSDDL).Valueif ($sddl -notmatch ';;;RM\)') { Set-Item WSMan:\localhost\Service\RootSDDL -Value ($sddl -replace 'D:P\(', 'D:P(A;;GXGR;;;RM)(') -Force}On a cluster, once, on any node:
Grant-ClusterAccess -User CONTOSO\svc-float -ReadOnly # monitoring onlyGrant-ClusterAccess -User CONTOSO\svc-float -Full # if flo8t runs actionsWindows has no read-only Hyper-V role: Hyper-V Administrators could also change VMs on that host. flo8t only reads, except for the actions you run.
What each level allows
Section titled “What each level allows”“Groups + WinRM” means the four groups and the WinRM change above.
| Standalone host | Cluster | |
|---|---|---|
| Inventory, performance, events, capacity, right-sizing | Groups + WinRM | Groups + WinRM + cluster read |
| Power off, reset, guest reboot, checkpoints | Groups + WinRM | Groups + WinRM + cluster read |
| Power on a VM | Groups + WinRM | Cluster full, for a clustered VM |
| Maintenance mode | Recorded in flo8t only | Cluster full |
| Hardening checks | Groups + WinRM | Groups + WinRM |
| Hardening: VBS, Credential Guard, HVCI, Defender | Local administrator | Local administrator |
| Host reboot | Local administrator | Local administrator |
Without local administrator rights, those four hardening controls show as not assessed, with the reason. Every other control reads fine.
HTTPS listener
Section titled “HTTPS listener”If the hosts have no HTTPS listener yet, on each node:
$cert = New-SelfSignedCertificate -DnsName "$env:COMPUTERNAME.contoso.com" -CertStoreLocation Cert:\LocalMachine\MyNew-Item -Path WSMan:\localhost\Listener -Transport HTTPS -Address * -CertificateThumbPrint $cert.Thumbprint -ForceNew-NetFirewallRule -Name WinRM-HTTPS-In -DisplayName "WinRM HTTPS" -Direction Inbound -Protocol TCP -LocalPort 5986 -Action AllowUse a certificate from your own CA if you want flo8t to validate it.
What flo8t collects, and how often
Section titled “What flo8t collects, and how often”| What | How often |
|---|---|
| Inventory | Every hour |
| Performance | Every 5 minutes |
| Events | Every 5 minutes |
| Hardening checks | Every day |
Hyper-V keeps no performance history flo8t can load, so history starts the day you connect: right-sizing appears after 7 days of collection.