Clases en Powershell

class X{ [string]$Nombre [datetime]$Fecha } class Y : X{} $my_y = New-Object -TypeName Y $my_x = [X]::new() $my_x | Get-Member Write-Host "------------------------------------------" $my_y | Get-Member Write-Host "------------------------------------------"
Como crear clases en PowerShell

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.