What Are You Doing Right Now
-
Finished setting up BookStack with LDAP
-
@dbeato said in What Are You Doing Right Now:
Finished setting up BookStack with LDAP
What a pain but is all good.
-
@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?
-
@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.
Hopefully you documented so you can do it again quickly and with ease!
-
@WrCombs Fuel dispensers are also still using RS-232. If you pull up to a fuel station, the ads playing on the screen are delivered on two wires -- kinda modem to modem. Honestly, our serial devices are very reliable, although you can lose the TV screens in fuel dispensers for all I care.
-
@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. -
@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!
-
@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.