What Are You Doing Right Now
-
@EddieJennings said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
If
sed
existed in Windows, that would make my current task much easier.Nice. If I could only install that on every server we have
What is stopping you, you have the root creds right?
-
@DustinB3403 said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
If
sed
existed in Windows, that would make my current task much easier.Nice. If I could only install that on every server we have
What is stopping you, you have the root creds right?
Bureaucracy and its change management.
-
@EddieJennings said in What Are You Doing Right Now:
If
sed
existed in Windows, that would make my current task much easier.Doesn't really need it. You have PowerShell to work with objects rather than sorting through garbled text output.
What are you trying to do?
-
@EddieJennings said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
If
sed
existed in Windows, that would make my current task much easier.Nice. If I could only install that on every server we have
Are you trying to do something like this?
https://www.kittell.net/code/powershell-unix-sed-equivalent-change-text-file/ -
Thinking about how not having to use Putty any more, and being able to SSH into my *NIX boxes right from Powershell is so nice.
-
@Obsolesce said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
If
sed
existed in Windows, that would make my current task much easier.Doesn't really need it. You have PowerShell to work with objects rather than sorting through garbled text output.
What are you trying to do?
Problem is a piece of this can't work with Powershell (deals with Cisco AMP's sfc.exe). Where I'd want something like sed is for this.
- Write two entries to the host file. This is easy enough: Echo text and redirect to the hosts file.
- Do the stuff needed for AMP (which can't be done with PowerShell due to an AMP limitation)
- Once stuff is done, find the two entries made from step 1 and comment them out.
-
@fuznutz04 said in What Are You Doing Right Now:
Thinking about how not having to use Putty any more, and being able to SSH into my *NIX boxes right from Powershell is so nice.
That's not PowerShell enabling that. That's just that SSH is installed now. Works with anything on Windows, cmd, PS, Bash.... anything.
-
@EddieJennings said in What Are You Doing Right Now:
@Obsolesce said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
If
sed
existed in Windows, that would make my current task much easier.Doesn't really need it. You have PowerShell to work with objects rather than sorting through garbled text output.
What are you trying to do?
Problem is a piece of this can't work with Powershell (deals with Cisco AMP's sfc.exe). Where I'd want something like sed is for this.
- Write two entries to the host file. This is easy enough: Echo text and redirect to the hosts file.
- Do the stuff needed for AMP (which can't be done with PowerShell due to an AMP limitation)
- Once stuff is done, find the two entries made from step 1 and comment them out.
This is a big deal. All other systems work transparently with one another, local and remote. The object system in PowerShell breaks that in really problematic ways.
-
Ughhhh I was waiting for my 2 quesadillas hungry as hell and a kid threw up right next to me!!!!! I'm not eating anymore
-
@EddieJennings said in What Are You Doing Right Now:
Just passed off the on-call shackle (phone) for the next five weeks
Lucky - we pass it around at the start of each week. could be a moot point though.. sigh.
-
@Obsolesce said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
If
sed
existed in Windows, that would make my current task much easier.Doesn't really need it. You have PowerShell to work with objects rather than sorting through garbled text output.
What are you trying to do?
Still need it, PS doesn't address the things that we almost all need to do, a lot of the time. Objects sound cool, and sometimes are, but in the real world, often don't cut it when you just need to process text. PS makes "what you see" very different from "what you get." Something we've always had in all other platforms. It's a huge functionality loss that you have to know all kinds of secret things going on in the background that aren't visible, and what is visible is often "fake".
-
@EddieJennings said in What Are You Doing Right Now:
@DustinB3403 said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
If
sed
existed in Windows, that would make my current task much easier.Nice. If I could only install that on every server we have
https://chocolatey.org/packages/sed
choco install sed -y
-
@valentina said in What Are You Doing Right Now:
Ughhhh I was waiting for my 2 quesadillas hungry as hell and a kid threw up right next to me!!!!! I'm not eating anymore
ugh - send that table the bill...
-
@gjacobse right????
-
@scottalanmiller said in What Are You Doing Right Now:
@fuznutz04 said in What Are You Doing Right Now:
Thinking about how not having to use Putty any more, and being able to SSH into my *NIX boxes right from Powershell is so nice.
That's not PowerShell enabling that. That's just that SSH is installed now. Works with anything on Windows, cmd, PS, Bash.... anything.
Well that's good to know. I'm just happy it is actually "built-in" now.
-
If I wasn't on call this week,.. I would be drinking all ready... sigh.
-
@gjacobse said in What Are You Doing Right Now:
If I wasn't on call this week,.. I would be drinking all ready... sigh.
dilly dilly
-
I got a deal on a nice boat.
This is what I ended up with
They said,.. a LITTLE water damage.
(disclaimer: no, I didn't by a boat. and if I had, it would have had a label MATCH BOX on it.
-
@gjacobse said in What Are You Doing Right Now:
I got a deal on a nice boat.
This is what I ended up with
They said,.. a LITTLE water damage.
(disclaimer: no, I didn't by a boat. and if I had, it would have had a label MATCH BOX on it.
metaphor for the current employment?
-
@WrCombs said in What Are You Doing Right Now:
@gjacobse said in What Are You Doing Right Now:
I got a deal on a nice boat.
This is what I ended up with
They said,.. a LITTLE water damage.
(disclaimer: no, I didn't by a boat. and if I had, it would have had a label MATCH BOX on it.
metaphor for the current employment?
lol - several things - but to be honest .. yea... very likely.