PowerShell - Variables and Data Types
You want to create a string that shows the current date and time in PowerShell using interpolation. Which code correctly does this?
$now = Get-Date
$output = "Current time: $($now.ToString('HH:mm:ss'))"
Write-Output $output
