Get-PWUsersLoggedIn Issue

I am running PWPS_DAB  I cannot get Get-PWUsersLoggedIn to trigger in a scheduled task using Windows Task Scheduler.  I have other PWPS task running on the same machine, so it seems specific to this cmdlet.  Anyone else experiencing this or similar where certain cmdlets will not run as a scheduled task?  Running manually no issue, right clicking on the task and running it - no issue.  it is only when it is supposed to execute at a certain time interval that it doesn't run.  Nothing shows in the history - as far as I can tell, it never starts.  Thanks.