PowerShell - Working with Objects
What will be the output of this PowerShell code?
$obj = New-Object PSObject -Property @{Name='John'}
$obj | Add-Member -MemberType ScriptMethod -Name GetGreeting -Value { "Hello, $($this.Name)!" }
$obj.GetGreeting()