User Activity

I have a requirement to do this on the command line on Windows 10. I tried to research on Google and on this site but have not been able to find instructions on how to do this.