I need some help and guidence on scripting in SMVI? I have a power shell script that creates a SV snapshot and updates as Snap vault relationship from a consistant snapshot on the primary filer. I want this to run once the SMVI job has completed but I cant get this to work. The powershell script work fine if run independantly and I have checked that this is not a permissions issue. Please can some one point me to some same scripts or setup guides me on how to get this working as currently SMVI just gives a time out error?
Import-Module DataONTAP Write-Debug "Begin Main Functions"
# Comfirm succesfull backup
write-eventlog -logname Application -source SMVI -EventID "9990" -EntryType Information -message "SMVI Snapvault Update Started" # Connect to Snapvault secondary
Write-Debug "Connect to Controller"Connect-NaController -Name Secondary
#Update Snapvault Secondaries and transfer from primary Snapshot