Maybe this isn’t the most earth shattering PowerShell function you’ll ever come across, but it saves me a few keystrokes. There are times when I want to see the results of PowerShell expression but the console output is insufficient. I want to see the results in a text file opened in Notepad so I can easily scroll, search or whatever.
Tag: FileSystemObject
VBScript Training in Las Vegas
I will be doing a live 2 day VBScript class this fall in Las Vegas (Oct. 22 and 23). I’ll be covering ADSI, WMI, HTAs, WSF and more. This is a class for experienced VBScripters who want to take it to the next level. This is a hands on class with with labs and one…
WSH and VBScript Core: TFM is here
I thought I’d take a moment to let you know that my new book is finally available. WSH and VBScript Core: TFM (SAPIEN Press). This book is a complete reference to Windows Script Host and VBScript. My goal was to replace the official Microsoft documentation with something that a Windows administrator would actually fine useful….
Get Latest File
I was helping out in the MSN Groups scripting forum recently. The admin needed to find the latest file or most recently modified file in a folder. That sounded reasonable to me so I put together a function and short script that uses it. I thought I’d share it here: ‘GetLatestFile.vbsstrDir=”S:”WScript.Echo “The newest file is…