What Are You Doing Right Now
-
Just been playing with setting up SSH access to my home router using SSH Keys, seems to work.
(Reason i need to play with some VPN and routing policies and the guides suggest using SSH commands to do it, not the GUI )Also getting to grips with KVM now seems ok so far.
-
I have also been spending quite a bit of time with KVM. I have noticed a big difference in disk activity between 2 servers that have similar specs and the same workloads - one running KVM and one on Hyper-V 2019. The KVM server is using a lot less resources it seems.
-
Oh, PowerShell! How I love thee! Especially when you give me error messages despite having
-ErrorAction SilentlyContinue
specified in the command. -
@brandon220 said in What Are You Doing Right Now:
I have also been spending quite a bit of time with KVM. I have noticed a big difference in disk activity between 2 servers that have similar specs and the same workloads - one running KVM and one on Hyper-V 2019. The KVM server is using a lot less resources it seems.
Yeah, that's to be expected. Hyper-V is way more bloated. But cool that it has been observed apples to apples.
-
@Obsolesce said in What Are You Doing Right Now:
@scottalanmiller said in What Are You Doing Right Now:
P30 has a decent amount of true zoom, first one of its type to do it. It's a huge breakthrough. That's what put it on my radar initially.
Looks awesome. I told my wife about it. She's in need of a new phone.
Oh, let me know how she likes it if she tests it. I really want one.
-
we have a tornado siren outside of our office, like 100 feet away from the back door.
it's Wed. at 11:00 am.
It's loud.
I'm frustrated.Happy Wednesday
-
@WrCombs said in What Are You Doing Right Now:
we have a tornado siren outside of our office, like 100 feet away from the back door.
it's Wed. at 11:00 am.
It's loud.
I'm frustrated.Happy Wednesday
Better to be frustrated and aware of an impending tornado, than to be dead because you were unaware of an impending tornado. .
-
@DustinB3403 said in What Are You Doing Right Now:
@WrCombs said in What Are You Doing Right Now:
we have a tornado siren outside of our office, like 100 feet away from the back door.
it's Wed. at 11:00 am.
It's loud.
I'm frustrated.Happy Wednesday
Better to be frustrated and aware of an impending tornado, than to be dead because you were unaware of an impending tornado. .
And they're done.
-
@WrCombs said in What Are You Doing Right Now:
we have a tornado siren outside of our office, like 100 feet away from the back door.
it's Wed. at 11:00 am.
It's loud.
I'm frustrated.Happy Wednesday
Illinois tests on the first Tuesday of the month at 10am
-
@JaredBusch said in What Are You Doing Right Now:
@WrCombs said in What Are You Doing Right Now:
we have a tornado siren outside of our office, like 100 feet away from the back door.
it's Wed. at 11:00 am.
It's loud.
I'm frustrated.Happy Wednesday
Illinois tests on the first Tuesday of the month at 10am
Ours is 1pm
-
@JaredBusch said in What Are You Doing Right Now:
@WrCombs said in What Are You Doing Right Now:
we have a tornado siren outside of our office, like 100 feet away from the back door.
it's Wed. at 11:00 am.
It's loud.
I'm frustrated.Happy Wednesday
Illinois tests on the first Tuesday of the month at 10am
they used to test on the first saturday at 10:00am
but have since then changed to Wednesday. -
Coffee and sunshine around here.
-
looking into why this PC has restarted 30 times in the in 25 days.
this is fun.
events just tell me that its restarting, no other errors before or after and restarts 3 times in a row then it's good for a while. -
@WrCombs said in What Are You Doing Right Now:
looking into why this PC has restarted 30 times in the in 25 days.
this is fun.
events just tell me that its restarting, no other errors before or after and restarts 3 times in a row then it's good for a while.Probably has some kind of OCD where it need to do everything 3 times to retain its sanity.
-
@RojoLoco said in What Are You Doing Right Now:
@WrCombs said in What Are You Doing Right Now:
looking into why this PC has restarted 30 times in the in 25 days.
this is fun.
events just tell me that its restarting, no other errors before or after and restarts 3 times in a row then it's good for a while.Probably has some kind of OCD where it need to do everything 3 times to retain its sanity.
potentially.
-
@scottalanmiller 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:
P30 has a decent amount of true zoom, first one of its type to do it. It's a huge breakthrough. That's what put it on my radar initially.
Looks awesome. I told my wife about it. She's in need of a new phone.
Oh, let me know how she likes it if she tests it. I really want one.
It depends on how much longer she wants her current one. She'd use it until the screen falls off if I never say anything.
-
@EddieJennings said in What Are You Doing Right Now:
Oh, PowerShell! How I love thee! Especially when you give me error messages despite having
-ErrorAction SilentlyContinue
specified in the command.What kind of error is it, terminating? Try not using erroraction and use void.
But you don't want to not see them. You need to handle them appropriately. Use errorvariable to handle it easily.
If it's terminating error, use try/catch/finally.
-
@Obsolesce said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
Oh, PowerShell! How I love thee! Especially when you give me error messages despite having
-ErrorAction SilentlyContinue
specified in the command.What kind of error is it, terminating? Try not using erroraction and use void.
But you don't want to not see them. You need to handle them appropriately. Use errorvariable to handle it easily.
If it's terminating error, use try/catch/finally.
foreach ( $comp in $serversOnline ) { if ( Get-Service -ComputerName $comp -DisplayName "Cisco Amp*" -ErrorAction SilentlyContinue ) { $serversWithAmp += $comp } else { $serversWithoutAmp += $comp } }
Yes, I don't want to see them :). In the end it won't matter, because this will be a scheduled task. It would just be nice to not see blood on the screen during testing. There are a few cmdlets that behave like this as well. If you curious, this is the error.
Get-Service : Cannot open Service Control Manager on computer 'SOMESERVERNAME'. This operation might require other privileges. At line:9 char:10 + if ( Get-Service -ComputerName $comp -DisplayName "Cisco Amp*" -E ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-Service], InvalidOperationException + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.GetServiceCommand
-
Making some changes to the XOCE script as the dev team introduced a new banner at the top of the page that says something to the affect of "you don't get support with the source version".
I've removed the change and need some people to test.
The build fails on 19.04 use 18.04 LTS for 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:
Oh, PowerShell! How I love thee! Especially when you give me error messages despite having
-ErrorAction SilentlyContinue
specified in the command.What kind of error is it, terminating? Try not using erroraction and use void.
But you don't want to not see them. You need to handle them appropriately. Use errorvariable to handle it easily.
If it's terminating error, use try/catch/finally.
foreach ( $comp in $serversOnline ) { if ( Get-Service -ComputerName $comp -DisplayName "Cisco Amp*" -ErrorAction SilentlyContinue ) { $serversWithAmp += $comp } else { $serversWithoutAmp += $comp } }
Yes, I don't want to see them :). In the end it won't matter, because this will be a scheduled task. It would just be nice to not see blood on the screen during testing. There are a few cmdlets that behave like this as well. If you curious, this is the error.
Get-Service : Cannot open Service Control Manager on computer 'SOMESERVERNAME'. This operation might require other privileges. At line:9 char:10 + if ( Get-Service -ComputerName $comp -DisplayName "Cisco Amp*" -E ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-Service], InvalidOperationException + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.GetServiceCommand
What happens if there is an error now? Does it continue with the next one or does it stop the script? It looks non terminating, so it really doesn't matter. It looks like there is zero error handling and logging.
Just run it as a scheduled task then and move on if you don't want to do anything more.