윈도우
-
-
-
-
슬랙 윈도우 로그인 ScriptsIT 2020. 3. 26. 16:10
#로그인 완료 시 Add-Type -AssemblyName System.Net.Http $http = New-Object -TypeName System.Net.Http.Httpclient $message = "IP_원격접속" #$Events = Get-WinEvent -FilterHashtable @{Logname='Microsoft-Windows-TerminalServices-LocalSessionManager/Operational'; id=1149} -MaxEvents 1| Format-List -Property * | Out-File C:\1\login_ok.csv $Events = Get-WinEvent -FilterHashtable @{Logname='Microsoft-Windows-Termin..