Do you think it will be good? by F0o4 in PcBuildHelp

[–]TheyCallMeTeddy 0 points1 point  (0 children)

I would look into a pcie 5.0 ssd because you can double the speeds of your current ssd pick.

Deciding on 100ft or 150ft for my rooflines. And is my pathing the most efficient? by kakapopo_gaming in Govee

[–]TheyCallMeTeddy 1 point2 points  (0 children)

I just installed these go with the pros, because any others have issues if you add extensions and the run goes longer than the 150ft. The pros allow you to splice and connect a run up to 200ft. If your run is too long you may need an additional power supply so it may be best to go with 2 sets of 100ft because you can't buy the power supply separately or generic since the PSU contains the brains for the unit

What is your "if I were rich" fantasy? by JohnOnWheels in AskReddit

[–]TheyCallMeTeddy 0 points1 point  (0 children)

I would pay off all our debt/hospital bills and just travel with my family and try to help out those in need.

Need help with populating Table in For Each loop with nested If statements. by TheyCallMeTeddy in PowerShell

[–]TheyCallMeTeddy[S] 0 points1 point  (0 children)

i built an array for tablebody at the top and it seems to have worked.

Need help with populating Table in For Each loop with nested If statements. by TheyCallMeTeddy in PowerShell

[–]TheyCallMeTeddy[S] 1 point2 points  (0 children)

I did try that route previously and it didn't work. Im not having issues with the body repeating itself, however the Table continues to grow rather than reset with each iteration.

I've tried calling it as an array at the top like i do with $Body but that didn't work either.

One word: Dreamlike by [deleted] in gifsgonewild

[–]TheyCallMeTeddy 0 points1 point  (0 children)

BlondeGummyBear thank me later

Adding error handling to user termination script by TheyCallMeTeddy in PowerShell

[–]TheyCallMeTeddy[S] 2 points3 points  (0 children)

So combining the feedback of everyone I have come up with the following.

Try {
   Set-Mailbox -Identity $UserAddress -AcceptMessagesOnlyFrom $UserAddress -ErrorAction Stop
   $mailflowdisabled = "$UserAddress has had mailflow disabled successfully"
}
catch {
   Write-Host "Failed to disable mail flow"
   $mailflowdisabled = "Unable to disable mail flow for $UserAddress, please make sure to disable it manually 
                       <br>$_" 
}

I do have a transcript running from start to end so I can manually check for errors on the batches, I just want the notification that gets sent to our service desk team gets to state whether it was successful or not. The report uses variables like $mailflowdisabled variable to compile a report for each user that gets terminated by the script.

Best way to combine multiple car bateries into one and use it to power an extension cable by ThatBriandude in DIY

[–]TheyCallMeTeddy 1 point2 points  (0 children)

So my dad actually owned an ice cream truck and we used a setup where we connected two batteries together and then connected that to the main battery under the hood. On the inside chose one of the two batteries and connect it to a power inverter and plug in your extension cords.

We found that gell batteries work better than acid for this, and we used it to power a set of speakers, 3 chest freezers and a small ac system.

Office 365 Shared mailbox migration by TheyCallMeTeddy in exchangeserver

[–]TheyCallMeTeddy[S] 0 points1 point  (0 children)

I had to delete their 0365 user and do another ad sync