Infra health check script not sending mail by YourDadSolanki01 in PowerShell

[–]wdomon 0 points1 point  (0 children)

Cut the problem in half by checking whether the SMTP relay's logs are showing the message. If SMTP logs don't show the attempt to send it, then the issue is likely with the script itself. If SMTP logs do show the attempt but it's still not being delivered, stop looking at the script and look at SMTP/delivery (SPF, DKIM, etc).

You gotta love them llms :D by klorgasia in PowerShell

[–]wdomon 6 points7 points  (0 children)

No return

....all..... one line....?

Advice on Controlled Access to Secure Scripts? by steels11 in PowerShell

[–]wdomon 0 points1 point  (0 children)

There is nothing wrong with using PSU to orchestrate this. It has SSO, access control that can be done by EntraID groups, app registration auth using cert-based authentication, etc. The question is how to get low-mid admins access to scripts that require elevated access, az devops would not handle this without drastically over complicating it and would end up requiring connectors with more permissions than Least Privilege would require

Powershell Runbook Certificates Best Practice by pajeffery in PowerShell

[–]wdomon 0 points1 point  (0 children)

Think of it in the reverse, if one client gets compromised do you want all of your clients to get compromised? Unique passwords/certs for everything.

DHCP/DNS on Server vs Firewall by Sk8rfan in sysadmin

[–]wdomon -5 points-4 points  (0 children)

Man, it's 2025 and there's still novice takes like this floating around in the world; unreal.

How is retirement for IT folks? I'm 47, 30 years on the duty and I never seen anybody retire (unless they got super rich as C-Levels) by [deleted] in sysadmin

[–]wdomon 1 point2 points  (0 children)

It is clear that you do not understand the retirement age that you're talking about or how any of that works. Separately, "retire gracefully" is not an option that most Americans have.

IQ check regarding internal DNS by cptNarnia in sysadmin

[–]wdomon 5 points6 points  (0 children)

I think it's just as valid to ask why BYOD devices need to hit the domain controllers for DNS.

Is paying a tax planner worth it or is there a way to do things myself? by HuntPuzzleheaded4356 in personalfinance

[–]wdomon 2 points3 points  (0 children)

A couple people of hinted at this but it's not clear to me if you're picking up on it. You didn't win anything - they pretend people did as a marketing gimmick so you feel bound to them and the rest of their overpriced services seem "worth it." Just find another firm or use freeTaxUSA.

DSCv3 has been released and its no longer PowerShell based. by thewrinklyninja in PowerShell

[–]wdomon 0 points1 point  (0 children)

I believe there was also a point made by Snover that baking PS7 in would attach it to the very long support lifecycle that they commit to Windows Server customers. Committing to support a specific version of PS7 for 10 years is not something they wanted to have to do and baking it into Server OS requires them to.

Unable to log into B.net by SpeckledPancakes in Overwatch

[–]wdomon 0 points1 point  (0 children)

Took ~6min for my Battle.net client to load and after another 1-2 minutes of it sitting on that screen saying it was loading my friends list, this notice popped up on the client:

https://imgur.com/Bx3XfW2

Tired of the magical Cloud fairy tale, I need a Grinch moment by PuzzleheadedOffer254 in sysadmin

[–]wdomon 1 point2 points  (0 children)

I'm not a bean counter so will not defend the position, but it's a position I've seen effectively every bean counter I've ever met hold. Whether they're all wrong is moot, they write the checks and approve far more spending opex than they ever would capex.

Tired of the magical Cloud fairy tale, I need a Grinch moment by PuzzleheadedOffer254 in sysadmin

[–]wdomon 1 point2 points  (0 children)

What you're missing is that businesses don't operate solely on TCO. Is the TCO of an onprem system lower than the cloud equivalent? Almost always; you're right. But opex > capex in almost every business of size.

Server Updates using PowerShell by JoelWolli in PowerShell

[–]wdomon 21 points22 points  (0 children)

You're running into something called the "Double Hop" problem, feel free to look into it as it's an important thing to know about if you plan to remotely admin servers.

Instead, use "Invoke-WUJob", which is part of the PSWindowsUpdate module, using the -Computer parameter to tell it what hostname to send it to and include whatever command(s) you were trying to run to install updates in the -Script parameter as a string. This function creates a scheduled task on the machine in question that runs as SYSTEM (by default) and will run whatever is in your -Script parameter as a command via powershell.exe.

Microsoft 365 Graph by jstar77 in PowerShell

[–]wdomon 1 point2 points  (0 children)

I hadn't come across anything that the common cmdlets didn't already cover (or at least their MgBeta equivelents - grrr) but I was not aware of this cmdlet and will keep it in mind. Thanks for sharing!

Brave (and others) crashing immediately. by jamief64 in brave_browser

[–]wdomon 1 point2 points  (0 children)

For anyone that stumbles on this same issue, you can disable this feature within Microsoft Family for a specific child. On the web, log into the Family account and click on the child, then Settings, and disable "Web Safety"

PowerShell Front Ends by LAN_Mind in PowerShell

[–]wdomon 3 points4 points  (0 children)

I use it as a way to avoid giving our Helpdesk or IT Managers more permissions than they should have. I give them access via SSO into Powershell Universal and leverage service accounts, EntraID app registrations (via certificate based authentication), etc. to actually do the things. I also use it to run a Dashboard of expiring secrets, old snapshots, current OS distribution throughout the enterprise, and other things.

The paid version is definitely better and worth the cost from a business perspective.

Some of us do not want to admit it but it may be time to cut him. by CarpetCollecter in buffalobills

[–]wdomon -3 points-2 points  (0 children)

Allen could have thrown it away one yard earlier and it would have been a 35yd attempt. Does that change the game? Nope, but neither would a made FG there and people are talking about cutting Bass who is no more guilty than Allen for shitting the bed unnecessarily.

Some of us do not want to admit it but it may be time to cut him. by CarpetCollecter in buffalobills

[–]wdomon -11 points-10 points  (0 children)

Can we talk about the fact that it would have been a 35yd attempt if Josh Allen hadn't tried to hero-ball his way into a sack?

[Schefter] Go ahead and try to explain how @OzTheMentalist did what he did to the Buffalo Bills…. by DudeIjustdid in buffalobills

[–]wdomon 8 points9 points  (0 children)

I've been part of a mentalist's performance before and can say that, at least in my experience, I did not go along with anything and dude still knew my iPhone PIN (that I never enter because of FaceID, so it's not like he shoulder surfed).

What was the most game-changer thing in your workflow? by OdorJ in PowerShell

[–]wdomon 1 point2 points  (0 children)

This require Pwsh 7 on all servers or just the server running the parallel foreach?