I have a target svr that is configured as a pull client and the LCM runs the consistency check at the configured interval, but I was wondering if there is anyway I could manually trigger the consistency check from powershell? Right now I do this by triggering the consistency scheduled task, but I'm not sure if this is recommend.
Start-ScheduledTask -TaskPath '\Microsoft\Windows\Desired State Configuration' -TaskName 'Consistency' -Verbose
See "The DSC Book" (Resources menu / eBooks on this website). There's a WMI call you can make to rigger it. You need to be a bit careful in doing so; there's a reason the minimum interval is 15min. Make sure a check isn't already running before triggering another one.
It will return whether the remote node(s) is(are) in the desired configuration by triggering the Test-TargetResource function of all the resources in the configuration. The verbose param is quite useful.