If you assign a value to a global variable, for example $global:fubar="snafu", it reports "The variable 'fubar' is assigned but never used." when in fact it is used elsewhere, such as within a different function.
Please either fix this for all "$global:" variables so that if they're referenced anywhere within the script, no warning is emitted....or at the very least give the option to disable that warning specifically or global variables.
(I imagine the same issue exists for script-level variables, too, though I have not checked that.)