Posted On March 31, 2019

One-Liner: Capture Report of Logons in AD

kimconnect 0 comments
blog.KimConnect.com >> Codes , Windows >> One-Liner: Capture Report of Logons in AD
echo %date%,%time%,%username%,logon,%computername% >> \\FILESERVER01\IT\scripts\logons.csv

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Fix 4GB Limitation on a Windows 32BIT OS

PatchPae (v2) by wj32. Tested on: Windows Vista SP2, Windows 7 SP0, Windows 7 SP1,…

Basic CSS: Use an id Attribute to Style an Element

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"><style>.red-text {color: red;}h2 {font-family: Lobster, monospace;}p {font-size: 16px;font-family: monospace;}.thick-green-border {border-color: green;border-width: 10px;border-style:…

PowerShell: How to Install Remote Desktop Services

Prerequisites: Required ports for RDS Services- UDP/TCP 135 ingress/egress- UDP/TCP 137-139 ingress/egress- TCP 445 ingress/egress-…