Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 49146

Re: Select only one result out of many - Get-VIEvent

$
0
0

Variables that you create in a script should be removed after the script completes.
But not so in ISE I'm afraid.

The 'proper' way to do this is that your script cleans up at the end what it created.

 

And you can always do

 

Get-Variable-Name MyVar |Remove-Variable-Confirm:$false

 


Viewing all articles
Browse latest Browse all 49146

Trending Articles



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