Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tazz

Pages: [1]
1
PDW Support / Re: PDW filter error
« on: 30 Aug 2020, 12:52:13 »
Aside from being rude in your response, PDW is one of those programs that people configure, then set-and-forget. I don't personally check these forums every day (as it's not the most active in the world...)

Anyway. This sounds entirely like a 'you' problem. Adding filters is quite simple, open the filter list (Ctrl + F), click Add bottom left, input your required details, click Ok.
I've got probably 80+ filters in the list, all added quite simply and easily with no fuss.

2
Unfortunately, SSL is not supported by PDW.

Not quite true! PDW 3.2b01 supports SSL.

3
I actually stumbled upon a possible fix in the early hours of this morning whilst tinkering around...

Turns out you can run cmd.exe with a flag of /c <command or file>
Typically used for some automation type processes, however can also be used in this example!

SO... In my Filter options, for "command file" - instead of calling the batch file directly, I'm now calling C:\Windows\System32\cmd.exe
Then, in the "command file arguments" section I have /c C:\Users\Tazz\batch.bat %1 "%8" "%7"

IN FACT, I have just discovered I can take a link out of the chain and call my Python script directly as .py's are registered as executables..
SO, my "command file arguments" section now has /c C:\Users\Tazz\pushover.py %1 "%8" "%7"


In your scenario, I imagine your command file could call C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
And your arguments could possibly then be -NoProfile -executionpolicy bypass -file C:\Users\David\PDWpowershell\pushover4.ps1 %1 %2 %3 %4

Or similar... Let me know how you go!

4
Hi dlettani,

I've been using a Python script for a fair while to do similar granular filtration and sending to different groups with Pushover. (PDW doesn't natively support the command file going to .py files, so I have a batch which PDW addresses that then forwards the variables to the Python script.. It's dirty but it works)

I am having an issue however where when I start PDW, the command file is enabled etc - but it just doesn't call the batch file. I have to actually go in to the Filter settings, disable and re-enable the command file option.
Have you had any similar issues?

Pages: [1]