scripts/utilities/utilities-classes.ps1

class DotNetVersion
{
    [string]$Name;
    [string]$Profile;
    [version]$Version;
    [string]$ServicePack;

    DotNetVersion([string]$name, [string]$profile, [version]$version, [string]$servicePack){
       $this.Name = $name;
       $this.Profile = $profile;
       $this.Version = $version;
       $this.ServicePack = $servicePack;
    }
}