I get the following error and I have the variables correctly set. Please help. I really want to use this code then implement for a big client.
The property 'text' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\ericd\Downloads\New Script\AVD Shadowing.ps1:243 char:5
-
$Subscriptions.text = $AVDSubscriptions
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : PropertyNotFound
Gather_HostPools : The term 'Gather_HostPools' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\Users\ericd\Downloads\New Script\AVD Shadowing.ps1:245 char:5
-
-
- CategoryInfo : ObjectNotFound: (Gather_HostPools:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
I get the following error and I have the variables correctly set. Please help. I really want to use this code then implement for a big client.
The property 'text' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\ericd\Downloads\New Script\AVD Shadowing.ps1:243 char:5
Gather_HostPools : The term 'Gather_HostPools' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\Users\ericd\Downloads\New Script\AVD Shadowing.ps1:245 char:5