r/PowerShell • u/iykecode • Dec 01 '25
PowerShell Profile
What cool things have you done with your profile?
10
Upvotes
r/PowerShell • u/iykecode • Dec 01 '25
What cool things have you done with your profile?
View all comments
6
u/Future-Remote-4630 Dec 01 '25
I have a function that will extract any variables in the last command that I ran and see if any of them are null. They output warning messages so you know where the thing went wrong without needing to investigate it.