Remove global constant variables when a module is removed

rated by 0 users
This post has 0 Replies | 1 Follower

Not Ranked
Posts 7
Angshuman Posted: 04-25-2012 3:55 PM


 I need to remove / unload constant global variables when a module gets removed using the remove-module cmdlet.

Additionally, the remove-variable documentation in MSDN says - 

You cannot use this cmdlet to delete variables that are set as constants or those that are owned by the system.

Is there any workaround or hack ?

Page 1 of 1 (1 items) | RSS
Copyright 2012 All rights reserved.