I'm afraid you did in the ForEach loop
ForEach
(
$Host
in
$Hosts
)
The $Host variable will on each loop be assigned one of the values from $Hosts.
I'm afraid you did in the ForEach loop
ForEach
(
$Host
in
$Hosts
)
The $Host variable will on each loop be assigned one of the values from $Hosts.