This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://twitter.com/wincmdfu/status/603170709880311808 | |
qwinsta /server: | foreach {($_.trim() -replace "\s+",",")} | ConvertFrom-Csv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Find Dialog - Use Regular Expressions - works for both C# and VB | |
catch.*[\r?\n\s]*((End Try)|({\s*\r?\n*})) | |
//For older versions of Visual Studio: | |
catch.*\n+:b+((End Try)|(\{[:b\n]+\})) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Find Regions used in code - Use Find/Replace to remove them: | |
^.*\#(end)*(?([^\r\n])\s)*region.*\n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Basic find commented out code | |
[\\\|']\s*(if|while|for|do|var|Dim|return|try) |