
Comment multiple lines of code in ISE
We have all been there, trouble shooting a script and you need to comment out a group of lines quickly. Most IDEs have this feature built in. Now PowerShell v3 ISE has this feature also but its not obvious. I found this little tip on DexterPOSH’s Blog.
Comment Code :
•Press Alt + Shift + Up/Down arrow key to select lines
•Once lines are selected, Press “#” to commentUncomment Code :
•Follow the same Key shortcut to select text [Alt + Shift + Up/Down].
•Once selected , Press Delete.
Dexter has a nice little animation on his site.
More Stories
How to configuration SMB3 and encryption
We have not enforced SMB3 and encryption, but have now started a SOX review and need data copied between servers...
Windows and SQL editions comparison
Capturing data on the limits of both windows server and SQL based on the edition for quick reference. Comparison of...
Enable passwordless security key sign-in to on-premises resources by using Azure AD
As we transition to Azure AD computers and leave domain joined PCs behind. Most of our data and applications are...
windows update for business and intune
We are having issues with machines not patching even with the Intune policies set. I'm documenting different post I've found...
Enabled the Lock Screen for inactive users
Quick link from Twitter, don’t want to lose the link https://twitter.com/anoopmannur/status/1497256566206181376?s=21 https://www.anoopcnair.com/set-automatic-lock-screen-for-inactive-device-intune/