Jump to content

Brant

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

My Information

  • Location
    USA
  • Agent Count
    750 - 1000 Agents
  1. Thanks Steve. I actually did that part and I can see the parameter from the Automate side is populating correctly with the value provided at run time. And I think there is a really good chance I'm over-engineering this too. I've got another "solution" to try but overall I would still be interested in knowing if you can pass the Automate parameter through to the PS script so that it is used inside that invocation (for future purposes of course.) If this is doable (passing the parameter through) I'd love to see how others are doing it successfully.
  2. I'm looking for some feedback on if what I'm trying to accomplish is even possible at this point. I have an Automate script that is running a PowerShell script. I want the Automate script to pass an input parameter provided at runtime into the PowerShell script which, in turn, uses that input as a parameter on a PowerShell cmdlet inside the PowerShell script. I know that the PowerShell script as written works to do what I want it to do but I'm trying to make it so that the PS script doesn't have to be manually modified every time it needs to be run. And if this isn't obvious not a strong Automate scripter here so I could be all jacked up and not even know it. What the script is doing is creating a scheduled task inside Windows. The parameter I'm trying to pass is to designate the -At parameter to the New-ScheduledTaskTrigger cmdlet. All the normal stuff is in place. Function: Execute Script Script Type: Powershell Bypass Script to Execute: contains text of PS script Script Parameters: Blank. But this has been tried with various iterations like @timetorun@ and %timetorun%. (TimetoRun being the parameter I have defined on the Automate script.) Script Credentials: Run as Admin Variable: Blank. 1. Is what I'm trying to do possible? If so, how do I set up the Automate script as well as what modifications, if any, are needed inside the PowerShell script? 2. Is this documented somewhere in docs.connectwise.com? The documentation I found didn't really go into what I'm specifically trying to do and so I'm thinking my use case may be unique.
  3. I find a lot of what has been shared here to be very helpful and I'm glad to see that I'm not the only one wanting to rip my hair out over patching. I'm very interested (and this may not be the best thread to post it in) in what people are doing when it comes to reporting of patching. I personally feel the Patch Compliance report is garbage and am getting ready to recommend we take it out of circulation to our customers. So what is everyone else doing when it comes to reporting patch status etc. to their customers?
  4. I don't know about anyone else but one thing that has drove me crazy with Patch Manager is the fact that any and every agent shows up in there and reflects against the numbers whether that agent is being patched or not. Yes, I am absolutely saying that not all of the agents are actively patched. Long story. Let's just leave it at that. I've always wondered why there wasn't a way to flip a switch and make it so that PM did not include numbers for systems that aren't being patched. There is now a feature request in the system to request that type of functionality. If you would like to see this implemented please consider upvoting that. https://product.connectwise.com/communities/5/topics/14891-add-ability-to-hide-clients-in-patch-manager
  5. Did you ever get this figured out? Disclaimer: No Automate guru here. But I've recently been trying to do some custom monitor of event logs and I think to accomplish what you're looking for you'll need to somehow get it to give you a count of the number of instances of event 4625. I reserve the right to be wrong though and I'll blame it on my ignorance.
  6. Looking for a way to trigger an automated way of restarting ltsvc if it is using more than a certain threshold of CPU utilization. I've not been able to find a way to just build a monitor that can accomplish this with those parameters so I suspect if this is possible it would have to be via a scheduled script. Any assistance or input is greatly appreciate. Brant
×
×
  • Create New...