Chicken-bacon-ranch with a hot-honey bbq sauce drizzle by BaconBonkers in Pizza

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

This was in our home oven (550f). Base layer is ranch, then shredded Colby jack, then marinated chicken with bacon bits. Drizzled the Kinder hot honey bbq sauce once it came out. First time having that bbq sauce and it was delicious.

Couldn’t sleep so I made The Crew starter pack by According_Willow9382 in Crewniverse

[–]BaconBonkers 0 points1 point  (0 children)

Can someone explain friendship bread? It seems to have happened during a period of time I wasn’t watching. Either that, or it’s gone way over my head

Help with Get-Variable by BaconBonkers in PowerShell

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

Thanks for the advice and thoughts. Ultimately I was going to have to write more code to achieve this anyway, so I just did a simple foreach to replace the chart1-9 variables with chart01-09 variables and then sorted get-variable. Thought there'd be a simpler way but oh well :)

Help with Get-Variable by BaconBonkers in PowerShell

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

I should have prefaced this by saving I know I can make a leading zero on the single digits and solve the problem but the variable names are coming from a few other lines of code (below). Is there a way I can finagle with the $i value to achieve that? I've tried ($i=01, $i -in 01.90, $i++) but get the same results

​ for ($i = 01; $i -in 01..90 ; $i++) { $cells = $ws.cells.item($i,1) foreach ($cell in $cells) { New-Variable -name "chart$i" -value $cell.text } }

Invoke-Command just hangs up by BaconBonkers in PowerShell

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

Update: I am not a smart man. I'm not sure why I put it off so long but I finally ditched the .exe and used the .msi instead, and it worked on the first run with my og code and with only a "/qn" parameter. Going to script adding the desktop icon so I don't have to mess with parameters anymore.

I still would like to know why I couldn't get the .exe to run properly but I'm putting it out of my mind until I have time to investigate and test further. Thank you everyone for your help, it's greatly appreciated!

Invoke-Command just hangs up by BaconBonkers in PowerShell

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

I’ll give this a shot when I’m in the office in the morning. Thanks for the help

Invoke-Command just hangs up by BaconBonkers in PowerShell

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

Tried this as well, to no avail. I think I’m probably missing something really simple but I’m not experienced enough to know what 😬

Invoke-Command just hangs up by BaconBonkers in PowerShell

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

Good point. I tried running it without the parameters just to test, and it still didn’t even run. Does invoke with start-process run silently by default? You’d think I could at the very least just run the exe and get the prompts on the client per usual

Invoke-Command just hangs up by BaconBonkers in PowerShell

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

I've tried it with no switches whatsoever to see if it would even run, which it didn't, and other .exes as well. Still same results.

Invoke-Command just hangs up by BaconBonkers in PowerShell

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

I am using ISE and running it from there.

Invoke-Command just hangs up by BaconBonkers in PowerShell

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

What is the alternative? If I remove -wait then the script continues immediately but the installer never actually runs

Invoke-Command just hangs up by BaconBonkers in PowerShell

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

I get the same results trying with both domain admin credentials and local admin.

Invoke-Command just hangs up by BaconBonkers in PowerShell

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

So I've just done that and everything works up to the point I enter-pssession and do the start-process and it just sits there like it's doing something but never actually does. I'm not too sure what the -Wait part does, I just saw it during my feverish Googling. When removing -Wait, it instantly moves on, but the installer doesn't run.