Reply to Message

View discussion in a popup

Replying to:
MD4SV
Contributor
Contributor

Ahh, now I see where I went wrong with the approach I was trying (using the string entry) - thanks.  I ended up moving the get-snapshot info to a spot right after the last ForEach to insert it into a variable within the array.  This does the job nicely since it captures it at the execution level instead of the select-object level though I won't have the advantage of being able to see the total size of all snapshots so I modified mine entry and it provided the desired result.

BTW - why is a Join required to get the IP info? I thought it was used for manipuation of string contents.   I noticed that for the IP address issue as well - it seemed to me the Guest IP should be obtainable by a reference to Guest.IPAddress but for some reason it comes up NULL.  I'm still learning the powercli so I have a lot of things I'm missing that seem to be crucial to the process.

How are you able to post your code directly into the your blog entries here?  I can post the raw text from a text document or post it as an image - but cannot get it posted directly from PowerGUI script editor.

Reply
0 Kudos