r/Lansweeper • u/deanm11345 • Jul 12 '19
Lansweeper-PS Modules
TL;DR: Made some Powershell modules for querying LS data about assets and users. Hopefully it doesn't suck, view my Github here or install Lansweeper-PS from PSGallery and tell me what you think. Also if you can do it better than me, please contact me to contribute to the project.
Hey guys, I posted earlier this week wondering if there were any Powershell modules available to interact with the data in LS for automation purposes. After like....3 people seemed interested I decided to devote the week to learning the best way to create/publish the modules. This module uses dbatools (a nice little set of modules for working with SQL) to query the SQL server behind LS and return an object with all properties found for any given user/computer. Please view the Github readme for the brief requirements.
I am super new to Github and publishing to PSGallery, so any help is appreciated. If anybody is interested in contributing still please let me know and I can add you as a contributor on Github. TBH I've never made anything "for the community" before so I am just hoping it can be used and added to, honestly. Below are some screenshots.


