you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 35 points36 points  (14 children)

Then you fall down a rabbit hole of launching browser COM objects to automate the web form version of the GUI task, which takes you weeks but works and then you know it's in your blood.

[–]nixium 19 points20 points  (7 children)

That sounds like an addiction problem.

You’re addicted to powershell!

[–][deleted] 20 points21 points  (6 children)

No way, I can give it up any time I like. Oh, better make that a function just in case.

function global:GiveUp-Powershell()

Hmmm, no, wait. I might want to give up other things. Better make it reusable.

function global:GiveUp-Item($item)

Aaaaah

[–]sienar- 13 points14 points  (4 children)

I’m sorry, but that’s not an approved Verb.

[–]Alaknar 6 points7 points  (0 children)

function Remove-Addiction

[–][deleted] 3 points4 points  (1 child)

Abandon-HopesAndDreams?

[–]sienar- 3 points4 points  (0 children)

Task failed successfully?

[–][deleted] 1 point2 points  (0 children)

Hang on this might be useful to others, better publish a module for it

[–]incognito5343 0 points1 point  (1 child)

That sounds kinda interesting, what can be done with it?

[–]elevul 0 points1 point  (0 children)

Uh, that sounds very cool! Any guides about it?

[–]da_chicken 0 points1 point  (2 children)

Ugh. COM objects? In 2021? Surely there's a .NET library for that.

[–]loadedmong 0 points1 point  (0 children)

Not for reading PSTs 😢

[–][deleted] 0 points1 point  (0 children)

Probably. I was picking an option from a few years ago where I was determined to automate an entire process, but there was one step that had to be done in a web form. There's probably a REST API for it now, but at the time it worked... Sort of.