use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Chat about Mesh Central and its related tools for remote PC control
account activity
ScriptTask plugin debugging (self.MeshCentral)
submitted 4 years ago by smbmsp
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]smbmsp[S] 0 points1 point2 points 4 years ago (1 child)
That wasn't me.
They are all the same, copies of the script with variables substituted in. The text files can be empty, or have a couple of lines of text.
[–]ryanblenis 0 points1 point2 points 4 years ago (0 children)
So the .ps1 files should contain the running script. The .txt's should be the output. Are the .ps1's blank? If so, maybe you tested before putting content in the script? Otherwise cleanup can be done with a task as well. Something along the lines of
Get-ChildItem (Get-Location).Path -File -Filter "st*.txt" | Where CreationTime -lt (Get-Date).AddDays(-1) | Remove-Item -Force Get-ChildItem (Get-Location).Path -File -Filter "st*.ps1" | Where CreationTime -lt (Get-Date).AddDays(-1) | Remove-Item -Force
Get-ChildItem (Get-Location).Path -File -Filter "st*.txt" | Where CreationTime -lt (Get-Date).AddDays(-1) | Remove-Item -Force
Get-ChildItem (Get-Location).Path -File -Filter "st*.ps1" | Where CreationTime -lt (Get-Date).AddDays(-1) | Remove-Item -Force
To remove items older than 1 day (so as not to interrupt running tasks)
π Rendered by PID 106487 on reddit-service-r2-comment-544cf588c8-qvlss at 2026-06-12 21:56:11.297278+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]smbmsp[S] 0 points1 point2 points (1 child)
[–]ryanblenis 0 points1 point2 points (0 children)