.dev/scratch.Notebook.ps1

class Person{
    [String]$First
    [String]$Last
    [int]$Age
    Person($First, $Last, $Age){
        $this.First = $First;
        $this.Last = $Last;
        $this.Age = $Age;
    }
}

$Bob = New-Object -TypeName 'Person' -ArgumentList "Bob", "Smith", 42
Write-Output $Bob
class Defect{
    [String]$Name
    [String]$Description
    [String]$ApprovedProject
    [String]$FoundinVersion
    [String]$VerifiedinVersion
    [String]$Impact
    [String]$Likelihood
    [String]$Priority
    [String]$Product
    [String]$Activity
    [System.Boolean]$Workaround
    [String]$Environment
    [String]$SalesforceCaseNumber
    [String]$Severity
    [String]$State
    [String]$Project
    [Array]$DefectSuites
    [String]$Expedite
    [String]$DisplayColor
    Defect($Name, $Description, $ApprovedProject, $FoundinVersion, $VerifiedinVersion, $Impact, $Likelihood, $Priority, $Product, $Activity, $Workaround, $Environment, $SalesforceCaseNumber, $Severity, $State, $Project, $DefectSuites, $Expedite, $DisplayColor){
        $this.Name = $Name;
        $this.Description = $Description;
        $this.ApprovedProject = $ApprovedProject;
        $this.FoundinVersion = $FoundinVersion;
        $this.VerifiedinVersion = $VerifiedinVersion;
        $this.Impact = $Impact;
        $this.Likelihood = $Likelihood;
        $this.Priority = $Priority;
        $this.Product = $Product;
        $this.Activity = $Activity;
        $this.Workaround = $Workaround;
        $this.Environment = $Environment;
        $this.SalesforceCaseNumber = $SalesforceCaseNumber;
        $this.Severity = $Severity;
        $this.State = $State;
        $this.Project = $Project;
        $this.DefectSuites = $DefectSuites;
        $this.Expedite = $Expedite;
        $this.DisplayColor = $DisplayColor;
    }
}
$myDefect = New-Object -TypeName 'Defect' -ArgumentList "DE1234", "Test Description", "Project 1", "v1.0", "", "", "", "Priority 3", "Main Product", "Test", $true, "Prod", "SF 100", "1", "Open", "Project 1", @("DS123", "DS111"), "No", "Blue" 
Write-Output $myDefect