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. - http://technet.microsoft.com/en-us/library/dd347612.aspx
Is there any workaround or hack ?