$swis = Connect-Swis -v3 -host $hostname -cred $cred
this seems not working, how can i make it working...?
Connect-Swis connects to SWISv3 by default. There is no "-v3" switch. If you need to connect to SWISv2 (for example, to work with NCM versions earlier than 7.3), you can add the "-v2" switch.
Thank you so much Tdanner :-)