How to use Tail in Windows Powershell

Published on Author JFLeave a comment

Windows is slowly, but surely, catching up to the hundreds of useful utilities for reading file content that *nix have had for forever. As you know, opening a 1 gig log file in notepad is impossible. Even using Notepad++, which can open some pretty large files, will not open a 1 gig file. Thank you,… Continue reading How to use Tail in Windows Powershell

Export Sites and Application pools in IIS

Published on Author JFLeave a comment

Open CMD as Administrator: Export AppPools All %windir%\system32\inetsrv\appcmd list apppool /config /xml > c:\apppools.xml Single %windir%\system32\inetsrv\appcmd list apppool “MyAppPool” /config /xml > c:\myapppool.xml Export Sites %windir%\system32\inetsrv\appcmd list site /config /xml > c:\sites.xml or in txt format (not very useful) %windir%\system32\inetsrv\appcmd list site > c:\sites.txt  

Find all file extensions in a folder on Windows 10 using PowerShell

Published on Author JFLeave a comment

Notepad++ is a terrific, free alternative to NotePad and it is multipurpose. I love the tabbed interface and, especially, not having to save every tab on close. What you can’t do in Search in Files is easily filter out file extensions to search (well, actually, there’s a good chance you can create your own function… Continue reading Find all file extensions in a folder on Windows 10 using PowerShell