Language, Interop and .NET
VER-01 Write for the lowest version of PowerShell that you can
Get-Service | Where-Object -FilterScript { $\_.Status -eq 'Running' }Get-Service | Where Status -eq RunningVER-02 Document the version of PowerShell the script was written for
#requires -version 3.0PowerShell Supported Version
#Requires -Version 2.0Last updated
Was this helpful?