About Me

I am certified Microsoft professional, a Microsoft MVP and an IT veteran with almost 20 years of experience, much of it spent as an IT consultant specializing in Windows server technologies. I work today as an independent author, trainer and consultant. I've co-authored or authored several books, courseware, and training videos on administrative scripting and automation. My latest book is Managing Active Directory with Windows PowerShel: TFM 2nd Ed.(SAPIEN Press 2011).
-
Please consider a donation if I've been of any help or assistance. Thank you.
Blog Sponsors
coming soon....Sponsored Links
Tag Archives: FileSystem
Get Top Level Folder Usage
This is too long to tweet, even written as a one liner. But this will search a folder for top level subfolders and return the file usage for each. $folder="S:\" dir $folder | where {$_.psIscontainer} | foreach { $stat= dir … Continue reading
Friday the 13 Script Blocks
In celebration of Friday the 13th and to help ward off any triskaidekaphobia I thought I’d offer up 13 PowerShell scriptblocks. These are scriptblocks that might solve a legitimate business need like finding how long a server has been running … Continue reading
Posted in PowerShell v2.0, Scripting, Windows 7, Windows Server, WMI
Tagged cmdlet, eventlog, FileSystem, PowerShell, ScriptBlock, Scripting, WMI
2 Comments
Objects are the answer
As I usually do, I was helping out in the forums at ScriptingAnswers.com. A member had several variables that he wanted to show as a group. As is almost always the case, the answer in PowerShell is object. I talk … Continue reading
Posted in PowerShell v2.0, Scripting
Tagged FileSystem, new-object, objects, PowerShell, Scripting
Comments Off
New File Shortcut
I’ve been looking at the File Server Resource Manager (FSRM) feature in Windows Server 2008 R2 a lot lately. One very nice part of FSRM is the ability to schedule typical file management tasks. One of the examples from the … Continue reading
Posted in PowerShell v2.0, Scripting, Windows Server
Tagged FileSystem, FSRM, functions, PowerShell, Shortcut, Wscript, WSH
2 Comments
Get Disk Quota
During a recent class I was teaching, a student asked about a way to get disk quota reports from Windows file servers. I knew there was a WMI class, Win32_DiskQuota, and had some old VBScript files. However, they were pretty … Continue reading
Posted in PowerShell v2.0, Scripting, Windows Server, WMI
Tagged FileSystem, functions, PowerShell, Quotas, WMI
4 Comments



