Hi,
I have developed a custom command in the WFA as below
param (
[parameter(Mandatory=$true, HelpMessage="Cluster IP address")]
[string]$Cluster,
[parameter(Mandatory=$true, HelpMessage="Storage Virtual Machine name")]
[string]$VserverName
)
# connect to controller
Connect-WfaCluster $Cluster
# create the export policy
Get-WFALogger -Info -message $("Getting status of Avscanner '" +$VserverName + "'")
Get-NcVscanConnection -VserverContext $VserverName -ErrorAction Stop
when i am testing it, this is executing successfully, but i am not getting any output as expected(status of vscan)
can someone please help me on this
i manually use vserver vscan connection-status show this command to get the status.