Get-CimInstance not pulling remote server data

Hi there, having a bit of trouble getting Get-CimInstance to pull any data from remote computers on my work domain. Here is a snippet of what I am working with:

$servers | ForEach-Object {
    $os = Get-CimInstance -ClassName Win32_OperatingSystem -ComputerName $_
    $osLabel = $os.Caption
    New-UDGrid -Item -ExtraSmallSize 4 -Content {
        New-UDCard -Title $_ -Content {
            New-UDList -Content {
                New-UDTypography -Variant "body1" -Text "Operating System: $osLabel"
            }
        }
    }
}

For context, $servers is just pulling server names from a text file, that part is working fine since I am getting the server names in the PSU dashboard interface. In PSU, $os and $osLabel output nothing, but if I run this from my PowerShell 7 console, it gives me the expected data.

If I do not specify a -ComputerName, then it correctly pulls my own computer’s data so clearly the base functionality is there, just not for remote computers.

Do I have to reconfgure PSU in some way to allow for connections to remote computers in my domain somehow?

Thanks in advance!

If you’re running as a service you’ll want to look at this: https://docs.ironmansoftware.com/config/running-as-a-service-account

It might have to do with the account permissions for the PSU server.