Im trying to get the link speed of each adapter thats up and connected.
q:friendly names of adapters whose (up of it) of networks
A: Ethernet
A: vEthernet (Default Switch)
T: 13.775 ms
q: (Link speed of adapters whose (up of it) of networks /1000000) of network as string & " Mb/s"
A: 1000 Mb/s
E: Singular expression refers to non-unique object.
Times under about 25 ms aren’t likely to have an impact or be accurate:
q:((Link speed of it/1000000) as string & "MB/s" ) of adapters whose (up of it) of networks
A: 156MB/s
T: 16.283 ms
q:((it / 1000000) as string & " Mb/s") of link speeds of adapters whose (up of it) of networks
A: 156 Mb/s
T: 13.965 ms
They are actually the same query just formatted differently.
In this case these two are identical:
Link Speeds of adapters of network
(Link Speed of it) of adapters of network
And so you can see that if the above two cases are identical that both queries above are actually identical – I just wanted to show you how I think about the problem and how I build up to a query like that in my head