r/PowerShell • u/MartianMoon • Dec 31 '19
Helpdesk/Remote Support Powershell Script - Expedite frequent & repetitive helpdesk tasks
https://github.com/Justin-Lund/PS-Remote-Support7
u/NegativeC00L Jan 01 '20
When you do Write-Host or Write-Output, putting "`n" at the beginning of the string makes it skip a line so you don't have to do Write-Host " " first.
2
6
u/Flannakis Jan 01 '20
Hmm didn’t know you could map network drives remotely, thanks for sharing
3
u/MartianMoon Jan 02 '20
Took me forever to figure out a way to do it! People kept telling me it was impossible lol
4
u/erickosj Jan 01 '20
Nice, man. I would add logging capabilities and the choice of either clearing the screen or not (in case you need the historical of what has been run, logger can probably be the best though)
2
1
u/Recendezjoseph Jan 01 '20
!remindme 1 week
0
u/RemindMeBot Jan 01 '20 edited Jan 01 '20
I will be messaging you in 6 days on 2020-01-08 03:16:31 UTC to remind you of this link
4 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback
12
u/wardd31 Jan 01 '20
Just a small pointer I learnt this week the hard way that win32_product shouldn’t necessarily be queried like this
https://sdmsoftware.com/group-policy-blog/wmi/why-win32_product-is-bad-news/
-4
32
u/admiralspark Jan 01 '20
Please don't set execution policy to unrestricted.