$Var = 0
Class Scoping {
 $Prop = $Var
 Static $StaticProp = $Var
}

$Sco = [Scoping]::New()
[Scoping]::StaticProp

$Sco.Prop
########
$Var = 10 # Nouvelle Valeur
$Sco1 = [Scoping]::New() # Nouvel objet
$Sco1.Prop

$Sco.Prop

[Scoping]::StaticProp

[Scoping]::StaticProp = $Var # Nouvelle Valeur statique
$Sco::StaticProp

$Sco1::StaticProp

 $Var = 20
Class Scoping {
  $Prop = $Var
  Static $StaticProp = $Var
} # Nouvelle définition de la classe

[Scoping]::StaticProp
