Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
These VMs can live on the same host and so the desire is to have same script pass each host. I am coming to the conclusion I have to write logic that will determine the length of the returned value of memory and based on that choose which operator to use.
My question is, is using a simple IF statement based on returned value the best way to solve this?
Thanks
This topic is 6 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.