I load this module in my profile. The commands run, but it does not do the write-host. Unsure as to why.
FUNCTION disco-netapp
{
$global:CurrentNcController = $null
write-host "You Are Now Disconnected From Netapp Storage Cluster 172.16.25.88"
}
FUNCTION connect-netapp
{
"Connect-NcController -HTTPS 172.16.25.88"
write-host "You Are Now Connected To Netapp Storage Cluster 172.16.25.88"
}
export-modulemember -Function disco*
export-modulemember -Function connect*