@dafyre said in Powershell countdown on servers?:
Are you doing this so you can have a progress bar or what?
Positive feedback on a script that's iterating actions on a group of servers, so... kind of a progress bar.
@dafyre said in Powershell countdown on servers?:
Are you doing this so you can have a progress bar or what?
Positive feedback on a script that's iterating actions on a group of servers, so... kind of a progress bar.
@dafyre said in Powershell countdown on servers?:
@Grey said in Powershell countdown on servers?:
If I have a foreach running on 20 servers, and I want to display a countdown for the run, decrementing the count each time, how would that work? I have:
$quantity = $systems.count foreach ($server in $systems){ //stuff $newquant = $quantity-1 }
This always returns a fixed value, though.
If youw ant to do it absolutely with $newquantity, then do this...
$quantity = $systems.count $newquantity = $quantity foreach ($server in $systems){ //stuff $newquantity = $newquantity-1 }
Testing this now.
@JaredBusch said in Powershell countdown on servers?:
@Grey said in Powershell countdown on servers?:
If I have a foreach running on 20 servers, and I want to display a countdown for the run, decrementing the count each time, how would that work? I have:
$quantity = $systems.count foreach ($server in $systems){ //stuff $newquant = $quantity-1 }
This always returns a fixed value, though.
Because you never change
$quantity
$newquant is where I want to do the math, inside the foreach.
If I have a foreach running on 20 servers, and I want to display a countdown for the run, decrementing the count each time, how would that work? I have:
$quantity = $systems.count
foreach ($server in $systems){
//stuff
$newquant = $quantity-1
}
This always returns a fixed value, though.
@Fredtx said in Non-IT News Thread:
@Obsolesce said in Non-IT News Thread:
@scottalanmiller said in Non-IT News Thread:
@black3dynamite sick students must stay home.... how do they determine who is sick? Testing is not free, at least not here. Who is determining if they are sick?
The thing is, of your kids are sick, it's most likely not Covid19.
And even if it is Covid-19, most kids won't even notice they have it. They could have a small cough or 1 day of low grade fever. Or no symptoms at all.
https://kfor.com/news/oklahoma-records-first-child-death-from-covid-19/
Death is a non-symptom, for sure.
@scottalanmiller said in What Are You Doing Right Now:
I feel like MS gave up on Teams and just hasn't announced it yet. This is all I've gotten for a month.
I saw something recently about business users being migrated off Skype to use Teams as MS moves to eliminate Skype next year. I don't remember where, though.
@scottalanmiller said in What Are You Doing Right Now:
I just saw an ad on YouTube for a telephony vendor advertising that they've onboarded over 1,000 users to their phone system.
Um, like nothing wrong with being small but, that's SO small, who would advertise that? And they talk about how that's their volume over three years.
Maybe it was just one client?
Is there a test/app to validate whether a server is vulnerable?
@scottalanmiller said in What Are You Doing Right Now:
@brandon220 said in What Are You Doing Right Now:
@siringo you should see how we drive in Texas... One of our toll roads is 85 mph / 137 kph (posted) and it is nothing to roll 90 to 95.
And believe it or not, Texans are considered "slow drivers" in the US. Coming from the northeast, it's painful how slow average traffic is in Texas. Texans drive closer to the speed limit than any other region of the country by a low shot. They have higher speed limits than most, but stay closer to them.
In Colorado, Texans are the ones exiting the highway from the left lane, and making U-turns from wherever they feel like it. None of them can park.
@Dashrender said in Non-IT News Thread:
@scottalanmiller said in Non-IT News Thread:
@JaredBusch said in Non-IT News Thread:
@scottalanmiller said in Non-IT News Thread:
Maybe if we get vaccines all the time
Then, that would be a vaccine similar to the flu shot. Not all vaccines are a full efficacy forever.
Flu is like annually, though. This would be a lot more.
Is it though? You get the shot normally in what November? and it lasts until March, maybe April? I mean I just don't know - but it doesn't need to last the whole year for normal flu because the heat of summer really dampens it.
Now, of course, that said - Covid-19 has clearly shown to not give a shit about heat. So quarterly inoculations could become a normal thing - damn, someone's making a mint.
The goal is to eliminate the virus, just like smallpox. I suppose the cost of that is greater than a funeral, but then, what's the cost of losing a child? After all, it was only alive for months, maybe a couple years? You couldn't have invested more than a hundred grand in that time. Compared to the cost of a vaccine, and the 7 billion already spent, that's nothing.
Are you just as heartless as our narcissistic moron of a president who'd rather divide the country than lead it, who'd rather claim that the world is out to get him personally because he listens to conspiracies from qanon, and who's golfed more in his first term than any other first term president while also having been critical of those same previous presidents' time off? I don't understand why anyone would listen to an administration that is saying, "some of you may die, but it's a sacrifice I'm willing to make."
The government is run by the very people that he's allowing to die by his inaction, his stupidity, and plain attitude. It's gross negligence. If you want to really listen, look at his actions: everyone coming in to contact with him is contact checked and covid tested. The administration knows how to combat the virus; they just don't fucking care.
Science has already given us the answers. No one is listening. You'd rather join the army of Karens and carry a card from a fake company, claiming you have ADA issues that prevent you from wearing the same mask that you'd demand that your surgeon wear for that 8 hour operation to remove your head from your ass. If everyone did that in the beginning, if Dear Leader had actually required it, then you'd be looking at a much different US economy, and the country might not be banned from EU travel.
But, yes, let's talk about cost and economy. Let's discuss convenience of a vaccine. I'll be over here checking out the receipts from my father's 2004 burial so I can compare to the current supply/demand economy for half my family that's over 60 years old. You know, the present rate of death is more than 9/11 every day? I'd think scump would know that, considering he had some experience cleaning up at ground zero. right?
@EddieJennings said in Miscellaneous Tech News:
https://fossbytes.com/with-fedora-33-nano-will-be-the-default-terminal-text-editor/
I suppose it was inevitable.
I was once interviewed for a job where I said I preferred nano, and this offended one of the people there. I can use vi, but I also like not having to look on a cheat sheet for less-often used commands, whereas I've used pico/nano since the 90s when it was part of pine.
@JaredBusch said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@JaredBusch you look thrilled
i like my real teeth, so I do the normal things like 6 month check ups.. but, I really hate going to the dentist.
Thanks to my medications, I get visits every 90 days, and braces adjusted every 30ish days. Woo.
Seems like you've already answered your question and just want someone to agree.
I don't see any issue and you can add an motd on login to remind that the systems are recorded. They're company systems, not personal.
My cousin just published some stuff on soundcloud.com/shanecharters.
@Obsolesce said in How do I remove all KMS info from domain:
Do the clients find it by DNS service records? Remove the DNS records.
Registry settings via GPO?
They do. It's a DNS entry. Open your DNS Manager and connect to a DNS Server in your domain. Under forward lookup zones, click on your domain. From under your domain, expand at _tcp. Look for the _VLMS Service Location. If you delete that, your KMS is broken/removed.