How can I check if a dll (or one of its members) has been loaded or not in the current session of powershell?
I'm loading this dll in a script, as follows:
$sw = @'[DllImport("user32.dll")]public static extern int ShowWindow(int hwnd, int nCmdShow);'@
In another script I want to check if this dll is already loaded. If not, I need to load it.
Grateful for any information.