If I write a PowerShell script, how do I know whether I've used cmdlets that require a specific version of PowerShell (so that I can add the requisite #Requires at the top).
OK I know a few cmdlets and techniques that are definitely v2 only but I don't know all, or which parameters might be version specific.
The cmdlet documentation is also missing this info – it ought to have it at the bottom rather like the .NET documentation does for .NET objects.
Any ideas? Thanks!