I've created a function "get-IeInstance" that return an object "InternetExplorer.Applicat
$ie = getIeInstance "www.experts-exchange.com
then from the caller script i can not use any method on $ie variable ?
i receive message error like :
Method invocation failed because [System.__ComObject] doesn't contain a method named 'quit'.
do i have to cast my variable in order to reach the method of the "InternetExplorer.Applicat
how can i do in order to have my $ie variable recongnize as an InternetExplorer.Applicati
on instance ?
thank you for your help.