Hopefully today will go by quickly so I can go home and sleep

Posts
-
RE: What Are You Doing Right Now
-
RE: What Are You Doing Right Now
@travisdh1 said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
Hopefully today will go by quickly so I can go home and sleep
I see your Friday evening is just as exciting as my own.
Looking to me for examples of "exciting" with anything is usually a mistake
-
RE: What Are You Doing Right Now
Just reserved my copy of Naruto Shippuden Box Set 37 for pickup today
-
RE: What Are You Doing Right Now
@LilAng said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
Just reserved my copy of Naruto Shippuden Box Set 37 for pickup today
Dang, Kuddos (kudos?) to you. I only made it to season 2 of the regular Naruto and just assumed the squad found Sasuke and they were homies again, lol.
Ha! You stopped when it was getting good :P.
-
RE: What Are You Doing Right Now
This will sound super-n00bish, but oh well.
$args
in PowerShell has changed my life. That is all. Continue with your regularly scheduled ML trolling, lurking, and posting. -
RE: What Are You Doing Right Now
@dafyre said in What Are You Doing Right Now:
@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:
This will sound super-n00bish, but oh well.
$args
in PowerShell has changed my life. That is all. Continue with your regularly scheduled ML trolling, lurking, and posting.How so?
I really only ever used it to check for extra arguments/parameters in my functions / scripts to output an error if the
$args.count
is higher than it should be, for example.What are you using it for?
I'm working on a script right now that will make use of
start-job
and using$args
lets me pass the value of a variable between scopes. In this case, I'd be passing a value from earlier in the script into thestart-job
scriptblock.Man, it took me forever to figure out how to do something similar!
Hence, my life being changed
-
RE: What Are You Doing Right Now
@dafyre said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@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:
This will sound super-n00bish, but oh well.
$args
in PowerShell has changed my life. That is all. Continue with your regularly scheduled ML trolling, lurking, and posting.How so?
I really only ever used it to check for extra arguments/parameters in my functions / scripts to output an error if the
$args.count
is higher than it should be, for example.What are you using it for?
I'm working on a script right now that will make use of
start-job
and using$args
lets me pass the value of a variable between scopes. In this case, I'd be passing a value from earlier in the script into thestart-job
scriptblock.Man, it took me forever to figure out how to do something similar!
Hence, my life being changed
What are you doing with start-job ? I've not had a good reason to use that yet.
Because of an
$issue
I have a script that runs periodically that checks the max RAM available for VMs within certain Citrix silos. At its core, the script runsGet-WMIObject
against the servers. Every once in a while we have a server that's online, but for some reason is having a problem, which bascially causes the WMI query to never time out nor finish.My plan is to rewrite the script to use jobs, which I can kill after X amount of time. Doing this will allow my script to return 3 possible results: 1. VM is showing the issue with RAM. 2. VM is offline, and now 3. VM is online, but WMI query is taking longer than it should -- go investigate.
-
RE: What Are You Doing Right Now
Working on a script to finish out the day. Looking forward to discussing some music theory stuff for a few YouTube videos
-
RE: What Are You Doing Right Now
@scottalanmiller said in What Are You Doing Right Now:
And we have an ASA down, fun.
Kill it with fire. That's the only way!
-
RE: What Are You Doing Right Now
@scottalanmiller Did you just put the new DC on the network and let things replicate. Then remove the 2008R2 DC and raise the functional level?
-
RE: What Are You Doing Right Now
@Obsolesce said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
@Obsolesce said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
@black3dynamite yeah, PowerShell is still stuck in like 1982 here.
No, I think all of you are stuck in 1982 while PowerShell has moved on...
Unless there's a bleeding-edge version of Powershell out now that has that cmdlet, it doesn't seem to be native for 5.1.
I know there's a module out there that does what your picture shows, but it would be nice if that was just baked-in.
No, nothing new or fancy... just plain old PS6:
That's promising then. Maybe in 5 years we'll have version 6 on everything where I work
. It is telling that it took 6 versions to get that functionality.
-
RE: What Are You Doing Right Now
Yay change window night! Uploading a YouTube video and exporting the next video from OpenShot while I wait on a merged base to be made from a Citrix PVS image.
-
RE: Weekend Plans
Plan 1: Finished posting some music tutorial videos, so this weekend will be coming up with some IT content.
Plan 2: Continue being tired, since I'm on-call through the weekend. -
RE: Weekend Plans
@valentina said in Weekend Plans:
@EddieJennings Music tutorials? That's cool!
I have a thread in the self-promotion category with a link to the channel. Check it out
-
RE: What Are You Doing Right Now
@scottalanmiller said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
Morning everyone.
Morning :). About to post some FFS fodder then learn from what rises from the ashes
When are we seeing those?
Writing it now and trying to not sound too much like a n00bish fool.
-
RE: What Are You Doing Right Now
Just passed off the on-call shackle (phone) for the next five weeks
-
RE: 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.
-
RE: What Are You Doing Right Now
@valentina said in What Are You Doing Right Now:
@Suyeins right??? Rain is the best! You can just chill and watch movies and eat junk food all day (or week) long
Rain washes the yellow death dust out of the air!