OK, added the Global $ContextMenu bit, no errors but also no right clicks. Then amended the final line to look like this - $Form.ListView1.ContextMenu = $ContextMenu - and now it works. Shawn, you Rock! Thank you for your help. Now I just need to work out how to show a different menu based on if it is the computer or a users container selected.