tag:blogger.com,1999:blog-8917418643483177762.post6764035636888203906..comments2022-12-05T05:33:37.344+01:00Comments on Peter's Tech Notes: Get notified when your computer reboots using PushoverPeterhttp://www.blogger.com/profile/00234062535095025694noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-8917418643483177762.post-176929172493822152018-11-27T15:53:22.308+01:002018-11-27T15:53:22.308+01:00This is exactly what I'm seeking. BUT I cannot...This is exactly what I'm seeking. BUT I cannot get it to Run in PowerShell 2.0 (Win764Bit PC.)<br />Error below: The term 'Invoke-RestMethod' is not recognized as the na<br />ck the spelling of the name, or if a path was included,<br />At C:\Users\GServer\Documents\Scripts\PushReboot.ps1:8 c<br />+ $parameters | Invoke-RestMethod <<<< -uri $uri -Metho<br /> + CategoryInfo : ObjectNotFound: (Invoke-Re<br /> + FullyQualifiedErrorId : CommandNotFoundException<br /><br />Can anyone please help to get this working in Powershell 2 - I've even tried upgrading to Powershell 3, but that just hangs at Initialising Install.Anonymoushttps://www.blogger.com/profile/09722120690266052273noreply@blogger.com