What Are You Doing Right Now
-
@DustinB3403 said in What Are You Doing Right Now:
Every time I actually use Powershell, I'm writing a script (usually because I don't want to run the process manually over and over).
I probably would say that about my use of Bash, too. I do tiny scripting almost every time that I type. It's just that in bash doing so is so easy, I forget that I'm doing it.
-
@Obsolesce said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
The issue is MS not including things by default that are considered basic functionality anywhere else.
oh, but it's there! You can get uptime in PowerShell 5.1, but it's more typing.
The point was never that there wasn't a way to get it, but that there wasn't a way to get it without scripting it. No direct shell access. It has to be manipulated. But that's unrelated to the performance discussion.
-
Construction on the NTG outdoor meeting space has begun (it is due for new lighting and all new paint this week.)
-
@DustinB3403 said in What Are You Doing Right Now:
But I don't need to write a script to pull the UPTIME
No script needed to pull the uptime manually in PS either.
But I'm sure most admins have better things to do than to manually pull the uptime of each device in the terminal individually. No idea why that's even a discussion. If you are doing that, something already isn't right.
-
@Obsolesce said in What Are You Doing Right Now:
But I'm sure most admins have better things to do than to manually pull the uptime of each device in the terminal individually. No idea why that's even a discussion. If you are doing that, something already isn't right.
Well, in BASH it is a one liner to almost instantly get it from tons of machines. It's actually a pretty common task. In Windows, if you want the same report, it is very doable, but not quite as transparent.
But if you are logging into machines at all, then uptime remains a continuous thing you want.
-
@scottalanmiller said in What Are You Doing Right Now:
@Obsolesce said in What Are You Doing Right Now:
But I'm sure most admins have better things to do than to manually pull the uptime of each device in the terminal individually. No idea why that's even a discussion. If you are doing that, something already isn't right.
Well, in BASH it is a one liner to almost instantly get it from tons of machines. It's actually a pretty common task. In Windows, if you want the same report, it is very doable, but not quite as transparent.
But if you are logging into machines at all, then uptime remains a continuous thing you want.
Bash was designed to be THE interface to manage a Linux system. So yes, it was designed to manage the system with small simple commands that you use all day.
This want the case with PowerShell. Windows went a different direction. If you want a simple CLI with simple commands, use CMD. If you want a serious and powerful scripting language for Windows, use PowerShell. Nothing is better than that for Windows.
-
@Obsolesce said in What Are You Doing Right Now:
This want the case with PowerShell. Windows went a different direction. If you want a simple CLI with simple commands, use CMD. If you want a serious and powerful scripting language for Windows, use PowerShell. Nothing is better than that for Windows.
I don't agree here. CMD was simply left to languish. MS made it really, really clear that PS was the absolute final word in tooling for managing Windows. They stated this over and over again. And unlike Bash which was just a generic system that predated linux by decades, PS was custom built for this one purpose.
-
Steaming some veggies for me. Heating up some soup for Liesl.
-
Installing the latest Bash for Windows from MS to see how well it works.
-
@scottalanmiller said in What Are You Doing Right Now:
Installing the latest Bash for Windows from MS to see how well it works.
Not great. There's too much behind the scenes going on to make it anything you'd use outside of Dev or testing.
It's not apples to apples.
-
@Obsolesce takes forever to install, too.
-
@Obsolesce it has the uptime command, but because of some screwiness, it reports the time that the shell has been running and does not report the kernel run time. So the info from it is bad. In this day and age to have utilities report things like uptime wrong is pretty bad.
-
Learning how to deal with this
-
Video gaming with Liesl.
-
Funtimes with mp4 videos >(
-
Doing Ubiquiti updates through UNMS.
-
The kids are making some worms in dirt Jello pudding thing.
-
-
@scottalanmiller said in What Are You Doing Right Now:
At work, wishing I had that cup of worms while I wait for my coffee.
-
You are welcome to it. I tried a bite and it is totally bland.