Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20396

Re: Discovery through SDK is no longer working as expected PowerShell

$
0
0

That gave me the clue I needed to figure this one out. Here's the problem. XML element names are case sensitive, and your script has the casing wrong on one of them: IPAddress should be IpAddress. When I changed this line:

 

   $build = $build + "<IPAddress><Address>$block</Address></IPAddress>"

 

To this:

 

   $build = $build + "<IpAddress><Address>$block</Address></IpAddress>"

 

It started working. And if you look at Madhavan's post that you linked to, you will see that's how the IpAddress element is spelled there too.

 

I can't say how your script could have worked in 10.6. I don't have a 10.6 installation handy to test against, but I checked the source code history for that class to see if some developer had foolishly changed the casing of that element, but it has not changed there.


Viewing all articles
Browse latest Browse all 20396

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>