David Johnson replied to the topic Network Share File Deletions in PowerShell Forum 5 months, 2 weeks ago
Open the Event Viewer and search the security log for event ID 4656 with a task category of “File System” or “Removable Storage” and the string “Accesses: DELETE”. https://www.netwrix.com/how_to_detect_who_deleted_file.html#:~:text=Navigate%20to%20%E2%80%9CReports%E2%80%9D%20%E2%86%92%20Click,%E2%80%9D%20%E2%86%92%20Click%20%E2%80%9CView%E2%80%9D.
David Johnson replied to the topic PowerShell Python command-line arguments in PowerShell Forum 7 months ago
I’m pursuing a python course and trying to run a Python script in PowerShell.
Why are you doing this? Python is Python, PowerShell is PowerShell run python scripts in python and PowerShell scripts in powershell
from datetime import datetime
now = datetime.now() # current date and time
strdate = now.strftime(“%dd/%mm/%Y”)
print(“date and time:”,strdate)
David Johnson joined the group PowerShell 3 years, 1 month ago
David Johnson became a registered member 5 years, 7 months ago