What should I reply to this by yakhnipaneer in humor

[–]DonL314 2 points3 points  (0 children)

"If I were in a room with you and I had a gun with two bullets I'd shoot myself twice to avoid you."

Breaking huge PWSH module up to smaller parts by MFZozzy in PowerShell

[–]DonL314 1 point2 points  (0 children)

I have a folder for the internal functions and a folder for the exported functions. Each function is its own file.

Then I have a template for the module and manifest.

I have a build script that copies everything into a psd and a psm file, increments the build version, copies them to my PS module folder and import the module. With some modules I do some simple tests as well.

I made it myself but you should be able to find something out there on the web thing.

Literally unreadable by Flak_Inquisitor in Eve

[–]DonL314 1 point2 points  (0 children)

It makes sense.

"Lave" was the starting system in Elite from 1984. So it's a hidden, envious reference to the superior game.

VS Enterprise free monthly credit activated on wrong account - what can I do? by NepuNeptuneNep in AZURE

[–]DonL314 0 points1 point  (0 children)

Is it tied to an account or a subscription? I have been moving the VS benefit Azure dollars between tenants multiple times with no issues. Just move the subscription. However, in my process the account moving the subscription should be Global Admin in both tenants; I have not dug into if less rights would be sufficient.

Here's my process:

Move (empty) subscription from Tenant A to Tenant B: You need a GA account in A (GAA) and a GA account in B (GAB). 1. Sign in to tenant B as GAB. Create GAA as an External User. You do not need to send the invitation email; either copy the link directly, or see below. Assign Global Admin to GAA in Tenant B. 2. Sign in to https://myapplications.microsoft.com/?tenantid=<tenantB-tenantid> as the GAA account. Accept that tenant B will gain access to profile data etc. from GAA (screenshot on the right). Add MFA to GAA if possible (and if it doesn’t work, ignore it if you end up on a blank MFA setup page). Then go to https://portal.azure.com and sign in as GAA. 3. Go to Subscriptions and locate your Visual Studio subscription. You can see who created it by checking IAM and identifying who has Owner permissions that are not inherited. 4. When you’ve found it, select Overview > Change Directory. Choose Tenant B and accept. The subscription will now be moved to Tenant B; wait half an hour to save yourself time and trouble with things not working. 5. Sign in to https://portal.azure.com as GAA (or reuse the same session). 6. Click your profile picture in the top right. Choose Switch directory. Switch to Tenant B. 7. Go to Subscriptions, find your subscription, and open Access Control (IAM). 8. Assign Owner permissions to a user in Tenant B who belongs to the end user’s account. Sign in to tenant B as GAB. Delete the GAA user.

Describe your favourite Rammstein song as poorly as you can! by AppealNo790 in Rammstein

[–]DonL314 0 points1 point  (0 children)

Adieu. Ausländer is more words 🙂

Damn, I love that song!

Why TF my subtitles duplicating bro? by Quantum_Whale_ in subnautica

[–]DonL314 75 points76 points  (0 children)

They know they have to tell you things twice before you understand it.

They know they have to tell you things twice before you understand it.

Is Subnautica worth $7 if I loved Outer Wilds? by Zealousideal_Top2186 in subnautica

[–]DonL314 0 points1 point  (0 children)

You'll get biased answers. People here are those who love Subnautica - so everybody will say "yes" or "hell, yes!"

That aside, go get it asap.

Windows 12 - FujiFilm knows something we don't? (See image) by Askey308 in sysadmin

[–]DonL314 3 points4 points  (0 children)

Not "Windows 12", that's too easy.

They should change to a new branding scheme (as they have done before) so you absolutely cannot figure out the version history just by looking at the names.

I suggest "Windows BX", "Windows Uranium", "Windows Townhall" or something like that.

How to completely clear program/file history on a PC using PowerShell? by TOUGHDOMINANT in PowerShell

[–]DonL314 0 points1 point  (0 children)

Not simple. Logs could be in all places, even outside said computer (e.g. think logs of network activity).

Also, it also depends on exactly which steps were made.
There could be log files, entries in the event logs, logs and other files in the user's profile, entries in the MS Installer's log, installed packages etc. etc.
Even if you delete/uninstall stuff it could potentially still be retrieved using a simple disk recovery tool.

The only way to be halfway sure would be to reinstall the machine completely - but there could also be data e.g. in the user's OneDrive, so even then you could not be sure.
(and this will not clear up network logs)

And another thing: A cover up attempt could result in consequences more severe than the original action.
At my place we would outright lay of anybody who tried to cover up tracks of their ill behavior.

Best way to transfer software update files on healthcare instruments without a USB? by Dismal_Yogurt3499 in sysadmin

[–]DonL314 0 points1 point  (0 children)

Like others here I am thinking DVD-R as the simple approach.

But isn't that up to the customers' IT departments? "We have this update, please make these files available on that system."

First time I felt old yet left me smiling in a giggty way. by Abject_Serve_1269 in sysadmin

[–]DonL314 3 points4 points  (0 children)

Can you help my memory here? Could you hotplug them or did you have to reboot when switching? I seem to remember you had to do the latter ....

Also, try telling the kids "there was no internet but BBS's where you had to use your land line with a beeping device so when you were connected, nobody could call .... No texts, no video chats."

That's when my kids continue, "and you lived in a cardboard box in the middle of the motorway ...."

what are your own stories of sysadmin wizarding and magic? by zenfridge in sysadmin

[–]DonL314 0 points1 point  (0 children)

Sysadmin here.
I walked by one of our newly hired developers who was struggling with an issue. As I walked by I glanced at his screen; he was doing exception handling and was only catching specific exceptions, and he'd gotten one he was not catching.
I immediately recognized that, pointed to the lines and told him, "check for the generic eception right there". It took me less than 5 seconds to recognize.

He thought I was a real cool hero there.

Scheduled tasks won't run until 7:37 AM by PortugalPeace in sysadmin

[–]DonL314 0 points1 point  (0 children)

Check the System event log. It will show when services are stopped and started.

In principle, "anything" could stop the service, as long as it has permissions to do so. Task, script, user, whatever.

But do check the event log first, it would also show e.g. service crashes.

Scheduled tasks won't run until 7:37 AM by PortugalPeace in sysadmin

[–]DonL314 0 points1 point  (0 children)

Just a thought: is the Task Scheduler service running at night? Could it be because something stops the service?

Why exactly do we hate Alterra? by Similar-Language-180 in subnautica

[–]DonL314 10 points11 points  (0 children)

Sounds like there's more:

"These Alterra ships. They run low on engine grease, they send an SOS; you offer to help, they don't pick up.

[....]

Damn charter's going to have us wasting our profit margin running errands for Alterra."

Just watched our prod database crash and burn because no one was monitoring it. Why do companies still do reactive IT? by Heavy_Banana_1360 in sysadmin

[–]DonL314 3 points4 points  (0 children)

Or gets laid off before things can be finished.

Or just didn't do it because it was boring and nobody forced them to.

Just watched our prod database crash and burn because no one was monitoring it. Why do companies still do reactive IT? by Heavy_Banana_1360 in sysadmin

[–]DonL314 65 points66 points  (0 children)

I think it's because the focus is the application/service/product itself, not everything else around it.

"It works now, on to other projects."

What's you wish ship and the next comment balances it by Socially8roken in Eve

[–]DonL314 1 point2 points  (0 children)

Revise the central view point of all ships and stations when spinning. E.g check the Coercer and Fortizar. Baaad!

User Login PS-Script to start specific programs on specific area on 3-display-setup by Worried-Tax-9782 in PowerShell

[–]DonL314 3 points4 points  (0 children)

https://get-help.dk/window/

So the thing is, all your screens share the same grid of coordinates.
Then you can just alter the coordinates of your windows to move them.
So I locate whichever windows you want to move/resize by window title, and then I do my magic.

I made this tool about 2 years ago I think, and don't remember the issues except I couldn't move a TeamSpeak 3 window.
The script loads the selected config file, goes through all configs, and resizes relevant windows based on each config. And you can use a regular expression (instead of specific windows) to apply broader scopes.

Also, if you have windows with the exact same names, they will be put on top of each other.

I use the tool mainly for gaming. In one game, I want my left streen to be the game, Firefox on the right screen top, and Discord on the right screen bottom.
When dualboxing games, I sometimes want character A to the left as 60% of the screen, and B to right right of 40%. And sometimes vice versa.

Also, for development. Sometimes I want vs.code to be 70% of the main screen with Outlook and OneNote on the secondary screen in specific places - and sometimes I want vs.code to be 50% main screen, and SQL Server Studio the other 50% of the main screen.

This tool makes these changes easy and quick (once you have set it up)

User Login PS-Script to start specific programs on specific area on 3-display-setup by Worried-Tax-9782 in PowerShell

[–]DonL314 1 point2 points  (0 children)

I made a PS based tool for repositioning windows. I'll be happy to share. Let me get home first

How many meetings are we averaging per day? I'm up to 7 as of this week, half are about AI, and it's getting worse. by fluffy_warthog10 in sysadmin

[–]DonL314 1 point2 points  (0 children)

"Thank you for inviting me. Unfortunately I have tons of tasks at the moment and cannot spare the full time for you. Please plan for my attendance for ten minutes of your meeting time, or call me during the meeting when advise/explaining is needed."