New-ScheduledTaskSettingsSet -Compatibility Won't Set BELOW "Win7" on Server 2012 R2
New-ScheduledTaskSettingsSet -Compatibility Vista is supposed to set the compatibility to vista - but task scheduler shows "Windows 7, Windows Server 2008 R2".
If I set -Compatibility to Win8 it does respond and mark the task "Windows 2012 R2"
But the documented values At, V1 and Vista (https://technet.microsoft.com/en-us/itpro/powershell/windows/scheduled-tasks/new-scheduledtasksettingsset) all result in "Windows 7, Windows Server 2008 R2
If I set the schedule with schtasks.exe and an XML I can get it to read "Windows Vista, Windows Server 2008"
My main concern is that this might also be affecting the task attribute "UseUnifiedSchedulingEngine" which is not settable via PowerShell.
Unfortunately, this cmdlet is owned by the Task Scheduler team. You will need to file this issue in the Windows Feedback Hub.