Oui, j'ai besoin d'une solution
I have semi-working Python script that outputs last user logged on.
import sys, subprocess, socket, string
import wmi, win32api, win32con
import pyodbcfor item in sys.argv:
s = item
if "sender-ip=" in s:
a = s.replace(',', '')
userIP = a.strip('sender-ip=')
userloggedon = ""print 'userId=DOMAIN\username'
DLP Enforce server recognizes the following print statement,
print 'userId=DOMAIN\username'
And will print the following value for userId attribute:
Now, I would like to use PowerShell. There are so many ways to output values in Powershell,
write-host
write-output
write-error
etc, etc
What output will DLP Enforce server recognize from Powershell?