
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
Micrsoft Defender for Endpoints
We use Microsoft Defender for endpoints on our physical workstations. I'm now looking at it for our servers. The servers...
Sync Active directory user data with SharePoint
If you want to sync standard common attributes from active directory to sharepoint. Its easy, AD sync to Azure AD...
Microsoft graph API to access sharepoint
Recently I've had to setup a few different app registration using Azure AD to access sharepoint sites. Once you get...
SQL upgrades
We have a few SQL servers that need to be upgraded before they go end of life. We are looking...
How to manage the local administrators group on Azure AD joined devices
After a device is deployed likely using autopilot, sometime you have a need to add an AzureAD user to the...
Azure AD and Windows hello for business, SSO for on-premises resources
We disabled WFB when we first rolled out autopilot because we are not ready to deploy and support passwordless at...