Damn Admin

Archives

CentOS list groups a user belongs to

Documented as better then using grep

CentOS get group membership

Documented as better then using grep

Attach to remote Exchange Shell

The first thing we need is a set of (Exchange Administrative) credentials to access the Server The next thing is setting up a variable containing the remote PowerShell Session And last we need…

List all Groups on Linux System

In the ramblings of Linux forums I came across this. It is documented as a better alternative to using grep on the /etc/groups file.

SED compatible online escape character tool

It just works. http://dwaves.de/tools/escape/

CentOS List Users

Monitor the tail of a log file in real-time

Simply replace ‘myTestLog.log’ with your file name (or path)Power Shell will read the file to the screenThen remain open and display any new lines appended to the file automatically.

Get current user logged into a different machine

You will need: the IP or FQDN of the remote PC Remote WMI Must be enabled Be a domain administrator

Page 2 of 2
« Newer Posts