PowerShell - Automation Patterns
Identify the issue in this PowerShell script snippet:
$services = Get-Service | Where-Object { Status -eq 'Stopped' }; $services | Export-Csv -Path 'stopped.csv' -NoTypeInformation