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.
-
@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.
-
me and my co worker were going through calls and he said " i dont want to take half of the calls you do.
You purposely take the harder, more confusing calls, instead of leaving them for someone else, why ?"my response was " "
he is right though. I take the very confusing calls and the ones that require you to actually think rather than just go through the motions , and do little bits of troubleshooting to fix the issues.
-
@WrCombs said in What Are You Doing Right Now:
me and my co worker were going through calls and he said " i dont want to take half of the calls you do.
You purposely take the harder, more confusing calls, instead of leaving them for someone else, why ?"my response was " "
he is right though. I take the very confusing calls and the ones that require you to actually think rather than just go through the motions , and do little bits of troubleshooting to fix the issues.
for example, I take all of the Windows OS calls.
Issues with Windows, programmable printers, I take the networking calls as often as I can,That doesn't mean that's all I work on, but those are the ones I enjoy working on the most.
-
@WrCombs said in What Are You Doing Right Now:
programmable printers
?
Are you programming printers now? Are you actually curtis?
-
Arguing with Citibank.
They changed the payee I setup form paid by check to pay electronically and matched the name to their system.
But the payee name is wrong in their system, hence why I set it up and a pay by check payee. Thus my home loan failed to pay.
-
@DustinB3403 said in What Are You Doing Right Now:
@WrCombs said in What Are You Doing Right Now:
programmable printers
?
Are you programming printers now? Are you actually curtis?
I was wondering if someone would catch that .
-
@Obsolesce said in What Are You Doing Right Now:
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.
Yeah. It's non-terminating. Just annoying to see during testing :).
-
Trying to go to lunch, but stuck waiting for someone to figure out their QuickBooks password to test a file.
-
Thankful I have QoS setup sanely at home here. Figured out the last issue I had with XCP-ng, XO, and backing up to Wasabi. Now my internet connection is pegged
-
Afternoon coffee It's finally raining here
-
@travisdh1 said in What Are You Doing Right Now:
Thankful I have QoS setup sanely at home here. Figured out the last issue I had with XCP-ng, XO, and backing up to Wasabi. Now my internet connection is pegged
Mine is still running... 5mb/sec at 55 hours in... According to the ETA, I have another 102 hours to go, lol.
-
@dafyre said in What Are You Doing Right Now:
@travisdh1 said in What Are You Doing Right Now:
Thankful I have QoS setup sanely at home here. Figured out the last issue I had with XCP-ng, XO, and backing up to Wasabi. Now my internet connection is pegged
Mine is still running... 5mb/sec at 55 hours in... According to the ETA, I have another 102 hours to go, lol.
When is the next backup? How big?
-
Quite the storm here tonight.
-
@Obsolesce said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@travisdh1 said in What Are You Doing Right Now:
Thankful I have QoS setup sanely at home here. Figured out the last issue I had with XCP-ng, XO, and backing up to Wasabi. Now my internet connection is pegged
Mine is still running... 5mb/sec at 55 hours in... According to the ETA, I have another 102 hours to go, lol.
When is the next backup? How big?
Mine is ~450GB for a full. Once a week. Because 10 mb upload is still slow.
-
@travisdh1 So what was your reason for going with Wasabi? VS something like Backblaze?
-
Is this error related to selinux when trying to run an update in Nextcloud?
-
@brandon220 what are the permissions set to on those folders?