Quantcast
Channel: ONTAP Discussions topics
Viewing all articles
Browse latest Browse all 4888

How to check status of Vscanner services with WFA

$
0
0

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. 


Viewing all articles
Browse latest Browse all 4888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>