Server IP : 103.6.199.200 / Your IP : 18.226.226.158 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/exabytes/reboot_tracking/ |
Upload File : |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $output="Invoke-RestMethod -Method post -ContentType 'Application/Json' -Body '{""msg_type"":""text"",""content"": {""text"": ""Server Rebooted - $(hostname)""}}' -Uri https://open.larksuite.com/open-apis/bot/v2/hook/508216a0-6ba8-4006-bfe0-3682652247a4" Write-Output $output > C:\exabytes\reboot_tracking\run1.ps1 C:\exabytes\reboot_tracking\run1.ps1