stevevillardi / Logic.Monitor

LogicMonitor PowerShell Module for automating LM Portal tasks using APIv3
https://www.powershellgallery.com/packages/Logic.Monitor
Mozilla Public License 2.0
24 stars 3 forks source link

Combine Id/Name into single parameter #3

Closed stevevillardi closed 3 years ago

stevevillardi commented 3 years ago

Look into combining the Id/Name parameter into a single parameter and have the command perform the correct lookup based on whats entered so it does not cause confusion with commands like Set-LMDevice where you may want to use Name to lookup a resource and also rename that property. We are currently using Name and NewName to workaround the issue but its ugly and it can be done more elegantly.

stevevillardi commented 3 years ago

Initial research shows this might be more trouble than its worth, going to backlog for the moment and revisit when I have time