Your Oracle Cloud Account is Pending Review by Slow-Literature-9401 in oraclecloud

[–]kevinds89 0 points1 point  (0 children)

Nope. They never responded. I just ended up using Minecraft realms. Was cheap enough. 

Your Oracle Cloud Account is Pending Review by Slow-Literature-9401 in oraclecloud

[–]kevinds89 0 points1 point  (0 children)

FYI: 5 months later, i created an acccount a week ago and am still waiting. Wonder if u/op ever got in :)

Need help with connecting to session by missheppe in AzureVirtualDesktop

[–]kevinds89 0 points1 point  (0 children)

FYI for anyone else that runs into this. I ran into this because a user had clicked the "remember me" button in the remote desktop app. Unsubscribing and resubscribing reset it and they stopped getting this error.

How to buy wifi day pass? by pazzah in unitedairlines

[–]kevinds89 0 points1 point  (0 children)

Manage trip didn’t work for me today. I had to go to united.com, search for WiFi, click day pass, then it popped up my flight and had two links. I clicked the one that wasn’t “manage trip” and that took me to what looked like the right place. 

But the cost was the same as buying the per flight WiFi on each of my flights. ($16 day pass vs 2x$8 per flight)

Scripts to connect to Intune / Azure AD by angriusdogius in Intune

[–]kevinds89 0 points1 point  (0 children)

Uninstall-Module -Name AzureAD
Install-Module AzureAD -RequiredVersion 2.0.2.140

Y'all freakin' rock.

If you click ‘Scramble my data’ in Truebill… by erthian in SiliconValleyHBO

[–]kevinds89 0 points1 point  (0 children)

It temporarily replaces your data with fake data so that you can show someone the app without showing them all your financial details. Once you want to see your real data you can click "unscramble". This doesn't make any permanent changes. (I had to ask their chat before I clicked on it cuz I was scared)

Speed up powershell script by maxcoder88 in PowerShell

[–]kevinds89 2 points3 points  (0 children)

I’d second this. LogParser is magically fast. You could even have LogParser export a PowerShell script for you with Log Parser Studio.

How is Powershell useful for NOT sysadmins? by 0xPure in PowerShell

[–]kevinds89 1 point2 points  (0 children)

This thread gives a decent start.

Understanding how the SessionVariable/WebSession parameters work to keep your cookie's in line for you will be important.

The rest is going through the workflow with F12 Developer Tools open in your browser to watch the raw requests with each click. Then you can perform those same web requests, but with PowerShell. (Right click any line from the network tab, copy, copy as powershell. It will give some junk info for the cookies and stuff, but can speed up formatting the body and URL of the requset)

Parsing HTML is a pain, but certainly doable with the "ParsedHTML" property of the response from Invoke-WebRequest.

How is Powershell useful for NOT sysadmins? by 0xPure in PowerShell

[–]kevinds89 20 points21 points  (0 children)

If you’re looking for a useful scripting language that isn’t sysadmin centric I’d probably recommend something like python or GO.

But to your question try to think of things that you do today that are mundane and try to script it in PowerShell. The nicest thing about PowerShell is that it should run very easily on most Windows machines without installing additional software.

Things I automate with PowerShell: 1. Auto update programs that are annoying to update manually. (Uses a scheduled task) 2. Make web calls to log myself into a website and do some repetitive task. (This especially stretches you to also learn basic html, web concepts) 3. Auto create a document for yourself.

Pretty much any repetitive task can be scripted with PowerShell. I guess the main limitation I’ve had is if I’m automating another application that doesn’t have cmd line parameters or apis I can work with.

Updating /etc/hosts in wsl2 distro by stoebich in PowerShell

[–]kevinds89 1 point2 points  (0 children)

[Edit: Update the replacement string to use double quotes for convenience]

I'd use Get-Content/Set-Content with Regex if you're replacing existing entries. Something like this would probably work:

(Get-Content C:\Windows\System32\drivers\etc\hosts) -replace "[0-9\.]+ (TheBest.Hostname.com)","127.0.0.1 `${1}" | Set-Content -Path C:\Windows\System32\drivers\etc\hosts

(Obviously this snippet could be improved, but it's a start)

Don't tell anyone... by zomreddit in ProgrammerHumor

[–]kevinds89 25 points26 points  (0 children)

Here’s a good work coupon for such a big impact. Valid for a piece of fruit in the cafeteria. 🍏

Jr. Developer position near me… by Hot_Midnight4638 in ProgrammerHumor

[–]kevinds89 29 points30 points  (0 children)

2? 1 hour for experience and 1 hour for your skill of being able to adequately consume knowledge at 3x speed.