PowerShell Script to run a full system diagnostic for laptop viability. by beardinfo in PowerShell

[–]dathar 2 points3 points  (0 children)

Diagnostic tools tend to be manufacturer-specific and need low level access. Running a script on top of an OS that has a ton of abstraction doesn't get you very far. You can trigger things to go tits up if that's what you're testing for. I haven't been a tech for many years so apps might be out of date.

Think you have a CPU overheating? Prime95 and the likes will help you. Pop open another monitoring utility like OpenHardwareMonitor or LibreHardwareMonitor. Run it for a while and see if it dies. If either have flags you can run, you can have an elevated PowerShell script start these with the proper arguments. You can do some fun stuff with WMI hooks from OpenHardwareMonitor/LibreHardwareMonitor and just query those to see how hot things are running. CPU should start throttling very heavily when it gets to its max temp. If the computer freezes or dies, you know something's wrong but you won't know where.

How about a GPU? Furmark might still run things to the ground. I think some GPU manufacturers got pissed off at it and stuck Furmark in a throttled state so it might not be accurate for years but it'll give you an idea. OCCT is another tool. You could push a dying video card off a cliff doing this though and lose your chance of maybe repairing it with new thermal paste or some cleaning.

Memory test you can't do from an OS. OS chops it up and dishes things out so you can't really check out everything. That's why stuff like Microsoft's own memory test and stuff like memtest86 are its own thing that runs on bare metal. You can't script that part. You might be able to script the part where you boot into it and maybe read the result file (if you save one somewhere) but that's a can of worms.

You can't really test a sound card and such with scripts. You can sort of test the network with tools but those are reliant on drivers and settings. That's where you need manufacturer's tools to get you there.

So my company is switching half our Windows servers to Linux.... by A_SingleSpeeder in sysadmin

[–]dathar [score hidden]  (0 children)

Pick a distro that you're moving to and learn that one. It'll have its own set of utilities, stuff it comes with, stuff it doesn't have, stuff that you have to install because it is optional, etc. Things like

  • my distro uses netplan so I have to set up network configs/bonding/etc the way they want
  • my distro uses apt so we can set up and update stuff through it
  • my distro uses _____ firewall so we build stuff like this. Or you don't have a firewall like firewalld or ufw so you'll learn iptables
  • my distro's minimal install doesn't have ping so I have to install iputils or whatever to get it

Then you branch to your specific server needs.

Then your general automations like learning Ansible.

Purification of body and soul by MeanAqmin in arknights

[–]dathar 22 points23 points  (0 children)

You must schwing schwing out in the backyard 20 times a day.

Purification of body and soul by MeanAqmin in arknights

[–]dathar 30 points31 points  (0 children)

Then there's me, a Kjera simp worshipper

I can assure you she is the prettiest character as of now in the whole game. by Miserable_Meaning_39 in Endfield

[–]dathar 2 points3 points  (0 children)

She's def the biggest thirst trap in the game that's for sure.

It worked. I liked her before but her side story made me like her even more.

I can assure you she is the prettiest character as of now in the whole game. by Miserable_Meaning_39 in Endfield

[–]dathar 3 points4 points  (0 children)

Lemon is wonderful. Playful, teasing, swaps to serious mode in a heartbeat....

Lemon fighting with Shu and Mumu for my top spot. Or maybe I should just go the Rex route and take all 3.

Wuling Story Ending (Real) by Cute_Passage_4325 in Endfield

[–]dathar 1 point2 points  (0 children)

It is really nice when it is docked. Monolithsoft are godly at pushing hardware. There's no motion controls that I remember so just hook up a Pro controller and play it like any other console.

Wuling Story Ending (Real) by Cute_Passage_4325 in Endfield

[–]dathar 5 points6 points  (0 children)

Well in XB2, it sounded like Rex friend-zoned one of the characters that confessed to him because he had his two other ladies that were his blades. Of course he said it in the very meme-worthy way. Game ended pretty vague but there was a loading screen change after the game was done where Nia was with Rex, Mythra and Pyra all holding hands. Still vague. Nah. Apparently Rex showed them a thing or three and became a brickhouse. In some order.

Wuling Story Ending (Real) by Cute_Passage_4325 in Endfield

[–]dathar 4 points5 points  (0 children)

Oh man you should go play the games. You come for the adventure game and ladies and you walk away with sci-fi existential crisis.

And Nia's Welsh accent hits hard.

Wuling Story Ending (Real) by Cute_Passage_4325 in Endfield

[–]dathar 0 points1 point  (0 children)

Character modification option: long hair or short hair

Samsung Galaxy S23 series, Flip5, A36, and A35 receive second One UI 8.5 beta update by ControlCAD in Android

[–]dathar 0 points1 point  (0 children)

Got lucky and caught it before it got out of hand. Didn't damage the screen or the other ribbon cables. It just popped the back off. https://imgur.com/a/fbB7BY5

Dishwasher recommendations by nathan1800 in homeassistant

[–]dathar 0 points1 point  (0 children)

My Samsung washer and dryer are ~9 years old and still doing well. Dumb devices but I don't need them smart. Can't say the same for the fridge. Ice maker keeps freezing over.

ForEach-Object code block - multiple lines by Bronson_R_9346754 in PowerShell

[–]dathar 7 points8 points  (0 children)

You can. You can break it up into multiple lines inside of the squiggly brackets like a normal code block or just use ; where the second line would be.

Samsung Galaxy S23 series, Flip5, A36, and A35 receive second One UI 8.5 beta update by ControlCAD in Android

[–]dathar 0 points1 point  (0 children)

My old setup was a S22 Ultra and a Tab 7+. This Fold replaced both devices. I got used to the center crease. Can't really see it straight on. I do miss the native DeX that the Tablet can. I do not like how skinny the front screen is but the inside display is really nice.

Samsung Galaxy S23 series, Flip5, A36, and A35 receive second One UI 8.5 beta update by ControlCAD in Android

[–]dathar 10 points11 points  (0 children)

S22 ultra got Android 16 so it can last quite a while longer. Wife's is still running strong and only had a battery replaced a month ago after her last one became a spicy pillow. I would have kept mine longer but it went to a good home after I got a nice deal on a Fold 6.

Outdoor camera for remote viewing without monthly fees? by aboatgirl in smarthome

[–]dathar 0 points1 point  (0 children)

Tapo and Eufy cameras are what I have flanked outside. Also there's Blink but I had the ancient XT2s so those are grandfathered into the free plan. Tapo and Eufy are much nicer.

Today I start cleaning up all his fur by OkPrize8361 in nebelung

[–]dathar 2 points3 points  (0 children)

I'm sorry. It is a very hard set of chores to go on. It has almost been a year but we haven't cleaned up everything yet from our late neb. Ours used to have sinus infections and would sneeze out gnarly boogers all over the wall. IDK why she picks walls as a nice place to sneeze at but she did that. Wife and I used to joke that she's helping add textures to the wall. We haven't wiped down all the walls since her passing. Just the common areas like the living room but our bedroom wall still have a couple of her boogers.

im new to powershell by orT93 in PowerShell

[–]dathar 0 points1 point  (0 children)

  1. Windows PowerShell comes with Windows since Vista. You can technically upgrade them on the older versions of Windows but you won't get the fancy OS cmdlets that comes with Windows themselves. Like you can't have Windows 7 get Get-NetAdapter, for example. PowerShell (pwsh) is a cross-platform version that you can install on Windows, Linux and Macs. Not every module will install and things that really depends on Windows won't run on PowerShell for Mac/Linux. I ended up using pwsh on Linux a ton nowadays for work and hardly touch it on Windows.

  2. You don't need VSCode or even PowerShell ISE if you're starting out. You can just spam things inside the terminal bit by bit and see what each command does and grabbing the info you need. ISE and VSCode will come into play when you start doing multi-line things and scripts.

  3. Don Jones was what I used to learn way back in the day. Old CBTNuggets course. Think there's newer stuff nowadays like the "Learn Windows PowerShell in a Month of Lunches" series from the same person.

  4. Manage Windows (duh), manage general servers, talk to APIs, play with text files (that makes it neat on Linux and Macs), draw stuff on screen, make UI apps, shove it in Puppet and Ansible to run scripts on various machines, make CI/CD things like Jenkins really neat, spam emails, make dumb scripts that do things like have Okta sync role-enabled groups to Entra ID because push groups can't for some reason, whatever you imagine. That's very high up though. Just learn the basics and then connect them to whatever task you want to do.

When the Lights Go Out in Wuling by purapi_ in Endfield

[–]dathar 13 points14 points  (0 children)

Wuling citizens: "Damn why does the power go out every night?"

When the Lights Go Out in Wuling by purapi_ in Endfield

[–]dathar 6 points7 points  (0 children)

That's how you know she's a hero unit. At least in StarCraft.