Migrate from V2.9 to V3 and PowerShellUniversal

Hi,

I need some help moving forward with PowerShellUniversal. I love the new setup but it is a lot of work to convert my old dashboards (please prove me wrong).

Challeng list:

  1. I havning problem`s with loading functions. Before i loaded all my functions with . (Join-Path
    $ScriptRoot “function.ps1”)

  2. Page vs Dashboard. How should the this be done in the new version? Before i had one dashboard with xx pages. Should i still use that or is it one page on dashboard? I found it more usefull because you cannot edit joind pages in the admin consol.

  3. Can some please make a universel convert :smiley: (2.9 - 3.0)

  4. How to set default Home page? I don`t want it to be the admin site.

  5. I don`t like the new module setup i got a lot of custom/non supported modules that i need to groom before i can get this up and running.

I love universel dashboard and invested a loot of hour in it in 2019 and 2020. But with this new version it all come to a stop. I need to get this new setup to work so i can start to create and update all my cool dashboards. Thanks.

/Kim

@MR-ITdude
i was using universal dashboard before and i thought migrating to PSU will be time consuming but in fact i was able to do it in couple of hours.
in regard to your challenge list below are some advices that might help you in your migration.

1- you can add your functions to the main dashboard file or to a custom component or create a powershell module for these functions that you can use with psu,its up to you which route you want to use to add these functions.
2-PSU work with one files or multi files like before so the pages can be separate and can be in one file.
3-there is no way to do so since both versions are different in cmdlets, v3 for example no longer uses grids and if you have grids before you need to re code your script to use tables also ud-cards is a little bit different in v3 than in v2, so its all about what components you have used in v2 and if its still the same or need rewrite in v3.
4-the admin site is only accessible when you type /admin , if you create a dashboard and you dont want to give it a name like /dashboard just use “/” this way when you type the fqdn it will immediately launch the dashboard. more info here Dashboards - PowerShell Universal

2 Likes

Thanks for your reply @wsl2001 .

I will try again to see if I can get this running.

  1. Omg so easy :sweat_smile: