This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Questions around migrating views from 2017.1.3 SP3 Solarwinds to 2020.2.4

Hi everyone.

I'm currently in the process of migrating all my network switches from an old 2017 instance of Solarwinds to a new server we have created and I'm looking for some assistance. I have moved the majority of the nodes across now but I'm hitting a few stumbling blocks.

The next thing I though I would do is to migrate all the views and I was using the viewexport powershell script that was created by mesverrum but it fails when I run it with the following error:

get-swisdata : Function replace not found
At Y:\viewexport.ps1:45 char:17
+ $Resource = get-swisdata $swis @"
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-SwisData], FaultException`1
+ FullyQualifiedErrorId : SwisError,SwisPowerShell.GetSwisData
Invoke-SwisVerb : Error executing SQL: Incorrect syntax near '='.
At Y:\viewexport.ps1:63 char:27
+ ... roperties = Invoke-SwisVerb $swis 'Orion.Reporting' 'ExecuteSQL' @($r ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1
+ FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

I've approached him directly about it and we think it may be because it's Solarwinds version 2017 why it isn't working. Does anyone have any other ideas how I can migrate the views across as I have lots of them and don't fancy recreating them all.

Thanks