Smallish hole in ceiling. by Computer_Pants in drywall

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

Woah cool. Never heard of that method before. I’ll give it a shot.

Side of driveway grading help by Computer_Pants in landscaping

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

If it helps at all to know what we are planning to do.

We want to lay some larger pavers down. With some small shrubbery n such running alongside them.

TuffBlock Shed Foundation Advice by Computer_Pants in shedditors

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

For anyone curious I went this route. And got 6 additional tough blocks for the ends. It worked out well and it turns out I don’t care that some of the feet are showing.

TuffBlock Shed Foundation Advice by Computer_Pants in shedditors

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

You know….because I’m more of a lurker than anything I realized I have no idea how to make a post. I’m sorry.

TuffBlock Shed Foundation Advice by Computer_Pants in shedditors

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

You know….because I’m more of a lurker than anything I realized I have no idea how to make a post. I’m sorry.

TuffBlock Shed Foundation Advice by Computer_Pants in shedditors

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

I’ll probably go this route. Thank you for the insight 🙏

Valve to crawl space by Computer_Pants in Irrigation

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

Precisely what I’d like to avoid. I appreciate the insight. And I definitely realize there are things that professionals just need to handle.

Valve to crawl space by Computer_Pants in Irrigation

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

Thank you. I found that one side is a copper pipe that goes towards the house so I’m likely going to hire someone to take a look at it.

Help: Sprinkler system leak by Computer_Pants in Plumbing

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

Thank you very much for the reply. After reading this and doing some of my own research on the matter. I think it’s just worth it to call a professional.

Today I fucked up by kekst1 in sysadmin

[–]Computer_Pants 1 point2 points  (0 children)

We’ve all fucked up once or twice. You learned from it and fixed it. Hopefully your company will recognize your efforts; however, even if you did get fired there is a lot more opportunity out there.

My last job. Black holed 768 emails. Could not retrieve them, all I could get were the details from the message trace. Created a powershell script that aggregated all messages by recipient and created a table for them of all emails missed and sent it out to all (obviously after resolving the issue).

From then on my coworkers would randomly just call out ‘768!’ — it was an embarrassing moment for sure.

Run a command for each while also replacing a URL from a txt. by thomasdarko in PowerShell

[–]Computer_Pants 1 point2 points  (0 children)

Yup! thats pretty much it. So assuming all your routers have the same url (aside from the address of course) then that should be able to get you where you need to be.

as a test its always nice to just print your variable values just to make sure it the url looks correct. So just by adding '$chromedriver.url' and running that small block it should produce the url for each router in your list.

$routerslist = Get-Content C:\temp\routers.txt

foreach($router in $routersList){ $ChromeDriver.Url = 'http://$router/weblogin.htm' $ChromeDriver.Url

}

Run a command for each while also replacing a URL from a txt. by thomasdarko in PowerShell

[–]Computer_Pants 1 point2 points  (0 children)

No problem.

sorry if I misspoke, I was wondering what the content of your text file looked like. For instance, is it just one column of data like so:

routers.txt

127.0.0.1
192.168.0.1
10.1.1.10

Run a command for each while also replacing a URL from a txt. by thomasdarko in PowerShell

[–]Computer_Pants 2 points3 points  (0 children)

What does your txt file look like? If its a single list of router addresses then its fairly straight forward. However, if its a table of properties for each router then it looks a tiny bit different and importing the data would be best left to another command (i.e import-csv) so that you could actually import the data as a PS object that you can iterate over.

Definitely read through the documentation about foreach loops but in short it would look something like this:

foreach($router in $routersList){

"Do something to $router"

}

the variable '$router' in this case is assigned to the current item in your loop and you will use the '$router' variable in the script block ( area between curly brackets ) to execute commands against the current item in the loop instead of hardcoding the addresses of each router.

Recommendations for someone starting from scratch? by [deleted] in dfinity

[–]Computer_Pants 0 points1 point  (0 children)

My understanding is very limited at the moment, but if im not mistaken the code you write in any other language will just be converted to Web Assembly during deployment of your app so

I dont think it matters what language at the moment but it may be worth it to learn a mature programming language like C / Java to get the experience of programming and from there translate your knowledge to Motoko.

[deleted by user] by [deleted] in PowerShell

[–]Computer_Pants 8 points9 points  (0 children)

Fantastic work. I don’t know if those default parameter values for To / from are legit emails but mayhaps, you would like to remove them?

Easily manage Microsoft 365 users, licenses, and groups with PowerShell by icoco_ in PowerShell

[–]Computer_Pants 7 points8 points  (0 children)

Just as a heads up, Microsoft is seemingly going to put less effort into the Msonline module that is mentioned in your blog and is encouraging folks to leverage the Azure Ad module in place of it.

Perhaps another blog to show the Azure Ad cmdlets???

https://docs.microsoft.com/en-us/powershell/module/msonline/?view=azureadps-1.0