Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Sampler
0.109.3
Templates/Classes/Classes/1.class1.ps1
class
Class1
{
[string]
$Name
=
'Class1'
Class1
(
)
{
#default Constructor
}
[String]
ToString
(
)
{
# Typo "calss" is intentional
return
(
'This calss is {0}'
-f
$this
.
Name
)
}
}