Community discussions

just joined
Topic Author
Posts: 1
Joined: Tue Apr 09, 2019 1:09 pm

MikroTik Powershell API

Tue May 28, 2019 3:38 pm

Hello everyone, so im using Sapien Powershell Studio to send commands to my mikrotik. Currently I just create users/password for tool user-manager. To do that i send this commands :
Send-Mikrotik -Connection $C -Command ("/tool/user-manager/user/add") -Attribute "username=$username", "password=$password", "customer=admin"...
$C = my IP adress / user / password
And now my problem is how I can check if a user exist already ? what kind of commands should I send ?

Who is online

Users browsing this forum: No registered users and 3 guests