The GoTo Community is currently experiencing some technical issues affecting new posts and comments. We are actively working with our service provider and apologize for the frustration.
Forum Discussion
KevinA
16 years agoRetired GoTo Contributor
One2Many Script Repository
Welcome to the LogMeIn Central Script Repository!
What is it? A library of scripts to help you execute automated tasks and manage LogMeIn Pro² computers without having to access them manually. ...
- 8 years ago
https://github.com/knix15/LogMeIn-One2Many-Community-Scripts/
Scripts can be found here as well for better future organization.
ao212
10 years agoNew Contributor
Hi I am reading this thread but don't see a "central" repository for where I can find ALL the scripts except for the ones mentioned in the posts here. Is there one central location to find One2Many scripts?
Consultant64
10 years agoRegular Contributor
Lisa_K8 We sure could use a section entirely for One2Many Scripts where its not one long post like the current one so it can be prganized per subject e.g. Updates, Batch, Reboot, etc. The current one is too long and a reply to a reply near the top ends up many pages down the list so they are not displayed in a tree view.
- Consultant6410 years agoRegular Contributor
Lisa_K8 Are we any closer to getting a dedicated topic heading/group for One2Many? There is a lot of useful informaion hidden in the re:One2Many Script Repository trees that would allow many to use all of the power tools included in Central.
Thanks, Dave
- Lisa_K810 years agoRetired GoTo ContributorHi Consultant64 I did not forget this and did enable groups however am having difficulty displaying them in the current structure of the community. I am actively investigating this! Thank you!
- bbrink9 years agoNew Contributor
did the effort to have a "new and easier to use script repository via groups" stall again?
- Lisa_K810 years agoRetired GoTo ContributorHello, I totally agree and have included adding a separate Script Repository group to the list of updates to the community. Coming soon! Great idea thank you!
- GeorgeK7810 years agoNew Contributor
Hi all,
I don't know if I'm missing something glaringly obvious with the One2Many functionality, but, in my searches in the forums, I found exactly one post about running Powershell scripts through One2Many.
With PS being such a powerful scripting language, I'm surprised that we're still sticking with batch and vb scripts to perform certain tasks.
1- I would think that LMI should include running native Powershell scripts directly from the task setup pages within Central.
2- Have some guidance as to how to easily trigger and run a Powershell script on Windows.
So far, I have been unsuccessful. Would anyone have a specific way that worked for them for running a PS script? (including the specific command lines)
I have tried certain ways of triggering it, using a custom command, with something like this:
"C:\Windows\System32\WindowsPowerShell\v1.0\Powershell.exe" -ExecutionPolicy RemoteSigned "C:\Scripts\ControlCPU_wuapp.ps1" where the Powershell script is in that location (c:\scripts).. but I keep getting run failures, even though the script runs just fine when ran on the server workstation itself.... so, looking for guidance if anyone has any?
Thanks all!
- Beep-Beep10 years agoActive Contributor
For one-liners, I get around set execution policy on PowerShell scripts by using the command:
powershell "put command here"
Watch out for commands that use double quotes though.
Example:
powershell "(Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -eq 'Some Name Here' }).Uninstall()"
What One2Many really needs is the ability to chain tasks sequentially. I know you can just send a script with complex logic but if you already have the individual pieces as tasks, it would be nice to be able to just chain those together.