darksidemilk / FogApi

Powershell Module for the Fog API
MIT License
5 stars 0 forks source link

Add get-fogversion #10

Closed darksidemilk closed 1 week ago

darksidemilk commented 2 months ago

working-1.6 now returns the version in the /fog/system/info path. Can use this to parse a version of 1.6 and above and when that version isn't there can know it is version <=1.5.x and can adjust the dynamic core objects so removed options aren't displaying in 1.6 and options that didn't exist in 1.5 don't show either.

darksidemilk commented 2 months ago
compare-object $oneDot6classes $CurCoreObjects 

InputObject                  SideIndicator
-----------                  -------------
clientupdater                =>
dircleaner                   =>
greenfog                     =>
multicastsessionsassociation =>
service                      =>
unisearch                    =>
usercleanup                  =>
virus                        =>
multicastsessionassociation  <=
setting                      <=
user                         <=