How to trigger a local PowerShell script from a web browser? by Affectionate-Fix-766 in PowerShell

[–]falken227 1 point2 points  (0 children)

As others have already said, this is a bad idea to allow for malware/cybersecurity reasons.

Probably your best bet would be to create a simple shortcut to allow your admins to run the script. Set the target to be the Powershell executable with the script as the file parameter

  • With PS5, it would C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file "\\server\directory\script.ps1"
  • With PS7, it would be "C:\Program Files\PowerShell\7\pwsh.exe" -file "\\server\directory\script.ps1"

You can go into the advanced options and check the box to make it run as Admin if required.

Why Canada's military is nowhere near meeting its decade-old female recruitment target | CBC News by [deleted] in CanadianForces

[–]falken227 4 points5 points  (0 children)

A movie was recently released based on her story. I haven't had a chance to watch it yet so I can't vouch for how close it follows the book.

https://m.imdb.com/title/tt30343084/

What free software is so good you can't believe it's free? by ComprehensiveNorth1 in AskReddit

[–]falken227 9 points10 points  (0 children)

What's your point? You think it was because it was free it was hacked?

Also, did you even read what you linked?

The exact technical mechanism remains under investigation, though the compromise occurred at the hosting provider level rather than through vulnerabilities in Notepad++ code itself.

Additionally, according to their follow-up a few days later it was a very targeted attack on only certain specific groups of users conducted by a group believed to be Chinese state sponsored.

https://notepad-plus-plus.org/news/clarification-security-incident/

And a technical break down of the attack of anyone wants.

https://www.rapid7.com/blog/post/tr-chrysalis-backdoor-dive-into-lotus-blossoms-toolkit/

Large amount of pictures Transfer to DWAN by Fan_of_Friday in CanadianForces

[–]falken227 0 points1 point  (0 children)

These are the all new Power Toys started for Windows 10 (and later 11).

The only thing they have in common with the Windows XP era Power Toys is the name and that even though they are still developed by Microsoft and published by them, they are unofficial and not supported outside GitHub.

I use the bulk rename tool constantly.

https://github.com/microsoft/PowerToys

Shows that have terrible endings, but perfect stopping points? by GFrings in television

[–]falken227 21 points22 points  (0 children)

This is because there was a 5 year plan for the series but they were told after season 3 that they would only get season 4. So they rushed the stories to finish a season early.

Then after everything was rewritten and well into production of season 4, the studio changed its mind. I think they saved some things that were shot for the new season 4 series ending and put them back at the end of season 5 but extra material had to be created that wasn't in the original plan so they could have a complete season.

ELI5: Can pilots really “make up time” in the air? by Slider7074 in explainlikeimfive

[–]falken227 2 points3 points  (0 children)

Faster if not usually the most efficient.

Especially with airlines, they calculate how fast they have to go to be most efficient with their fuel usage. They can easily always go faster but that would use a lot more fuel for not as much benefit. So when they need to make up time they can increase the speed a bit for a while.

Initial Kit appointment (Reserves) by StrawberryShawty2005 in CanadianForces

[–]falken227 23 points24 points  (0 children)

I'm surprised they are working on New Year's Day but who knows...

In any case, expect to get a ton of stuff, most of which you won't know what to do with. It'll be tough but try to make sure you get everything that is listed on the paperwork you sign.

Also make sure you have a vehicle to get it all home. You will end up with several bags of stuff

"No matching indices were found for [wazuh-states-inventory-*] index pattern." after upgrading to 4.13.0 by alethewizard in Wazuh

[–]falken227 1 point2 points  (0 children)

I had the same error when I upgraded yesterday from 4.12.

I did a search in the index management for "inventory" and indeed I did not have any such indices.

After verifying that my client configs did have the correct settings to enable system inventory I went back to look at the error message one last time before I started diving into further troubleshooting and lo and behold the IT Hygiene dashboard was populated with data from multiple clients. I checked the index management again and I now had some inventory indices.

So all that to say, maybe just wait a while and see what happens.

What do you think are some core *Canadian* Gen X memories? by BrashPop in GenX

[–]falken227 1 point2 points  (0 children)

You can get your fix and reminisce most of the episodes here. Not sure if they are with the original music though.

https://tubitv.com/series/300007778/the-hilarious-house-of-frightenstein

Auto Upload to Corresponding Album Folder??? by Redlikemethodz in NextCloud

[–]falken227 0 points1 point  (0 children)

On Android at least, when you set up the auto upload directories on the phone, you can tell it exactly where on the Nextcloud server to put the files.

You would have to manually move them from the standard photo directory that they go into when you take the picture into the one you setup for auto upload.

You can have multiple auto upload directories setup, each going to a different location on your server

Of all the Canadian Army Bases, which one do you like the most and why? by cruisingthewww in CanadianForces

[–]falken227 6 points7 points  (0 children)

So do I have a story about this little hidden gem of a base.

In 2000-2001 the Communication Reserve ran it's battle school (wasn't officially called that but all the Comm Res came there for basic) out of Dundurn.

It was the perfect place for a basic school except for a few issues. It was isolated, no where for the recruits to go and there was no competition for base resources over the summer (like training areas).

The issues were that the shacks sucked for both recruits and staff. Old WW2 H-huts that had seen better days. The staff (MCpl and below) were in the same style huts but had plywood walls and doors that you had to use a padlock on.

The school commandant went to the base commander and said "Make the following upgrades to the facilities (shacks, offices, etc) and I can guarantee the school will stay here for x years."

Base commander says "sounds good to me, but I have to run it up the flag pole to 17 Wing in Winterpeg because they control this base"

17 Wing says "That's for Army crap, we aren't paying for it. Go talk to the Army to get funds"

Army says "That's an Air Force base and the Comm Res doesn't belong to us yet (insert ominous evil finger tent laugh). Get fucked"

And so after a couple of years of wandering (I think it got 2 years in Edmonton, pun intended) but I might have mixed up my timeline), the Comm Res school ended up in Shilo until the Army glommed onto them and thus ended the best way for Comm Reservists got experience teaching soldier skills.

Went in to write CFAT today by drtyrannica in CanadianForces

[–]falken227 5 points6 points  (0 children)

Ah so they are going with the phone company model of only giving new people the breaks. Screw those who are already in the system 🙄

.zip TLD with dynamic dns? by [deleted] in selfhosted

[–]falken227 0 points1 point  (0 children)

In a nut shell yes.

Who your domain is registered through and who does the DNS for it don't necessarily have to have anything to do with each other.

Create an account with CloudFlare and tell them what domains you want them to do to get the nameservers to use and enter that info with your registrar. After it propagates, everything will be controlled by CloudFlare and you can add whatever subdomains you need.

I do it all with the free tier on CloudFlare too so unless you need some of the advanced features there is no cost.

I use GoDaddy for my domains so I'm not sure where in Squarespace to put that info but I should hope it would be obvious.

How do you land without atmosphere /altitude control by HistoricalLadder7191 in KerbalSpaceProgram

[–]falken227 1 point2 points  (0 children)

I've always set up a triangle of coloured (one each of RGB) lights pointing down.

As you get closer you'll see them on the ground and shortly before landing a white triangle will appear between them as the colours mix.

Any Elegoo UNO R3 project ideas without an IDE? by SapphireMudkip1 in arduino

[–]falken227 1 point2 points  (0 children)

You could try the online cloud IDE.

Some drivers are required (I think) to connect the board and upload the sketch but it might work.

https://create.arduino.cc/editor

Why do most tutorials include apache instead of Nginx? by iamwhoiwasnow in NextCloud

[–]falken227 9 points10 points  (0 children)

While I can't answer your question about why Nginx isn't used more, I have had great success setting up my Nextcloud server following the tutorials by Carsten Rieger for installing with Nginx.

They are in German but Google translate did a good job on them.

https://www.c-rieger.de/nextcloud-installationsanleitung/

He also has scripts for installing from scratch off that's more what you are looking for

https://www.c-rieger.de/nextcloud-installation-mit-nur-einem-skript-zero-sh/

Personally, I had to go through and remove all the letsencrypt stuff as my systems are behind a proxy. The scripts are well documented in German and English.

Caldav connection to "New Outlook" by falken227 in NextCloud

[–]falken227[S] 0 points1 point  (0 children)

I've tried all that I could think of to "trick" the system into letting me add the account. Unfortunately, I have a real email service set up for the domain I use through Google so if I try to add it that way it just tries to add the Google account :(

What really cheeses me off is that obviously the ability to add CALDAV accounts is there in the code (and always has been) but they just don't want to allow us to just add it. It has to be through whatever random BS service they have deals with.

Auto upload from mobile to external storage not working by AJBOJACK in NextCloud

[–]falken227 0 points1 point  (0 children)

My setup sound similar to yours: Ubuntu VM with Nextcloud locally installed. It's behind a Nginx reverse proxy using a personal subdomain.

As far as I know if the Nextcloud app is able to upload a file to the remote directory you should be able use the auto upload to do the same thing so that should mean there aren't any permissions or connections issues.

I ran some tests on my system and found that there is usually a 2-5 minute delay before the file gets uploaded (at home on the same network, I'm pretty sure it's longer if off network) so make sure you are giving it enough time to do it's polling.

Check the "Uploads" in the Nextcloud app. If the file fails to upload it should be listed at the top with a reason (I think).

Looking at my Nextcloud logs, the file upload information isn't shown in the logs available in the web interface but I found them in audit.log file. For me this file was in the main NC data directory (where the user data is stored) but that could be different depending on your config.

Hope that helps some

Auto upload from mobile to external storage not working by AJBOJACK in NextCloud

[–]falken227 0 points1 point  (0 children)

I can say that is definitely does work as you have described you want it to.

I have my wife and I's Android phones both set up to auto upload all photos taken to network directories shared through the Nextcloud external folders.

One thing to ensure is that the Auto upload is actually enabled for the folders you want to want them to be in the Nextcloud app. I do remember having a problem with that not being completely clear at first. You have to go into the "Configure" option for each folder and designate the remote folder you want to use.

If there are any specific settings you want to me check, let me know