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
-
@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.
-
@black3dynamite said in What Are You Doing Right Now:
@dbeato said in What Are You Doing Right Now:
One thing I hate about XCP-ng is the lack of support for UEFI...
It's been awhile but does it support other filesystems like ext4 or xfs and is it still using .vhd files?
The EXT4 driver is in public beta since mid Jan.
It looks like whenever SMAPIv3 is production ready we'll have qcow2 as an option... who knows when that is? Maybe when XS8 drops? I believe the ZFS driver is also in beta and will be production ready shortly after SMAPIv3
-
@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.
-
@dbeato said in What Are You Doing Right Now:
@dbeato said in What Are You Doing Right Now:
Finished setting up BookStack with LDAP
What a pain but is all good.
This is something I've been looking at doing just haven't stopped to play with yet. Any bumps you ran into that you're willing to share please do to minimize my pains :face_with_stuck-out_tongue:
-
Don't know if there are any baseball fans in here, but yesterday's Opening Day games were crazy! Very excited to have baseball back.
-
@zachary715 said in What Are You Doing Right Now:
Don't know if there are any baseball fans in here, but yesterday's Opening Day games were crazy! Very excited to have baseball back.
Didn't get to watch any yesterday - work got in the way
-
@WrCombs said in What Are You Doing Right Now:
@zachary715 said in What Are You Doing Right Now:
Don't know if there are any baseball fans in here, but yesterday's Opening Day games were crazy! Very excited to have baseball back.
Didn't get to watch any yesterday - work got in the way
Here's some quick highlights when you get some time... https://www.mlb.com/news/memorable-moments-from-opening-day-2019
-
@zachary715 said in What Are You Doing Right Now:
Don't know if there are any baseball fans in here, but yesterday's Opening Day games were crazy! Very excited to have baseball back.
I was able to catch the last few innings of the A's game. Unfortunately, this was game 3 for the A's, since they and Seattle played two regular season games in Japan a week ago.
<rant>
It boils my blood that they had to play two regular season games and be in the appropriate mindset for it, and then play three more exhibitions games.
</rant> -
@zachary715 said in What Are You Doing Right Now:
@WrCombs said in What Are You Doing Right Now:
@zachary715 said in What Are You Doing Right Now:
Don't know if there are any baseball fans in here, but yesterday's Opening Day games were crazy! Very excited to have baseball back.
Didn't get to watch any yesterday - work got in the way
Here's some quick highlights when you get some time... https://www.mlb.com/news/memorable-moments-from-opening-day-2019
Sounds like an amazing opening day.
Kind of salty that I missed it. -
@EddieJennings said in What Are You Doing Right Now:
@zachary715 said in What Are You Doing Right Now:
Don't know if there are any baseball fans in here, but yesterday's Opening Day games were crazy! Very excited to have baseball back.
I was able to catch the last few innings of the A's game. Unfortunately, this was game 3 for the A's, since they and Seattle played two regular season games in Japan a week ago.
<rant>
It boils my blood that they had to play two regular season games and be in the appropriate mindset for it, and then play three more exhibitions games.
</rant>That was a great experience for the people of Japan getting to see their hometown legend as he goes out into retirement. Not ideal for the A's maybe, but part of the MLB efforts to expand the game into other parts of the world. The team I follow, the Reds, will be playing down in Mexico in a couple weeks and then later in the year there will be a game or two in London.
-
@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!
You could just set the
-scope
of the variable to global... -
@Obsolesce 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!
You could just set the
-scope
of the variable to global...I've never used
-scope
when defining a variable. I'll have to try that out. -
@EddieJennings said in What Are You Doing Right Now:
@Obsolesce 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!
You could just set the
-scope
of the variable to global...I've never used
-scope
when defining a variable. I'll have to try that out.Change to version 6 documentation if you are using that.
-
@zachary715 I missed them all unfortunately and I hate that.
-
@jmoore said in What Are You Doing Right Now:
@zachary715 I missed them all unfortunately and I hate that.
Well I've got good news for you. There's 161 games left to be played :winking_face:
-
@zachary715 haha yeah!
-
Brewing half caffeine coffee. Because its the weekend and i need all the sleep i can get
-
@LilAng said in What Are You Doing Right Now:
Brewing half caffeine coffee. Because its the weekend and i need all the sleep i can get
Not me. I need to be as caffeinated i can get today !
No specific reason... -
@WrCombs said in What Are You Doing Right Now:
@LilAng said in What Are You Doing Right Now:
Brewing half caffeine coffee. Because its the weekend and i need all the sleep i can get
Not me. I need to be as caffeinated i can get today !
No specific reason...haha I have been having trouble sleeping and i drink 3-5 cups a day. today it snowed so i'm cold and will drink more so i'll reduce caffeine.