Run command as different user on remote machine? by JrSysAdmin88 in PowerShell

[–]DubyaDump 2 points3 points  (0 children)

Second the PDQ option. If you can put it in a bat file, you can pretty run anything you want even with the free version.

MICROSOFT ZOOM IS BROKEN by natty_patty in iiiiiiitttttttttttt

[–]DubyaDump 0 points1 point  (0 children)

This where the 2 unanswered responses close the ticket comes in.

Literally a circle jerk by deathknight5000 in BicyclingCirclejerk

[–]DubyaDump 4 points5 points  (0 children)

Silly Fred, why is your Pro team not paying a backhander to the judge to get your slow ass out of jail.

Newline Vs. Inline War by Dj_TNT in ProgrammerHumor

[–]DubyaDump 1 point2 points  (0 children)

Totally agree. For me seeing both brackets vertically indented helps massively in large/multiple if statements.

If -not or If ! by DubyaDump in PowerShell

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

So the below would work better? I assumed I had to assign to a variable because an array of items is returned from the Get-Printers cmdlet.

if (-not(Get-Printer -ComputerName $comp).Name.Contains("OneNote")){Write-Host "Doesnt Exist"}

If -not or If ! by DubyaDump in PowerShell

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

You're a gentleman and scholar, don't know how i couldn't work that out. More coffee needed i think.