Dick Lewis

Dick
Lewis

Dick Lewis is a senior systems engineer with Lewis Technology in Riverside, California. He is an MCSE and a Microsoft Certified Trainer (MCT) specializing in enterprise management of Windows Server 2003 and Windows 2000 servers and workstations.

Articles
Who Is Accessing Your Shared Resources?
In a perfect world, shared folders have specific permissions granted to one or more security groups that contain the user community for that share. But the world is far from perfect, which is why you might need to use SharedFolderUserCapture.bat.
Safeguarding Your Windows Servers
SafeGuarding Your Windows Servers provides a collection of the best resources for planning and implementing high availability as well as the proper tools and procedures for recovering from a disaster.
Reduce Your Downtime While Reading Uptime Reports
Reviewing the uptime statistics for many servers can be time-consuming. Here's a script that produces a report in which it's easy to spot problematic uptime statistics.
Valuable Lessons Learned
Learn about some of the challenges Dick Lewis faced when creating UptimeReport.bat. By sharing the lessons he learned, he hopes you can avoid similar problems.
Scripting DFS
You can use Microsoft's command-line tools to configure and query DFS, but the tools might return more information than you need. Here’s a script that will help you get the back-end target server locations that your DFS links are really pointing to.
DFS Scripting Tools
Here are some Microsoft command-line tools for scripting, creating, modifying, or just viewing the Distributed File System structure.
Arrays and Temporary Files
By using a temporary file as your “array,” you can redirect command output to a text file to get a list that you can easily manipulate and filter.
5 Scripts for Managing Local Groups 2
Check out these five handy scripts to simplify management of local groups. They provide an easy way to add and remove members, enumerate memberships, and modify group properties.
Learn How to Error-Proof Paths and Creatively Manipulate Strings
GetUserProfiles.bat is not only a working script that you can use to clean up old user profiles but it’s also a valuable learning tool.
The FAQs About Setting Up Your Shell Scripting Environment
Learn the basics of setting up a Windows command shell scripting environment.
May I Have a Menu Please?
RegModsMenu.bat illustrates how you can add a menu interface to scripts. This script stores registry-modification information and performs the modifications.
Error-Handling Techniques
Learn more about noteworthy error-handling techniques that Dick Lewis uses in two of his "mini" scripts.
Small Scripts Pack Power 10
Eleven "mini" scripts use a variety of tools and techniques to automate specific, practical admin tasks related to system security and stability.
Handling Spaces in Command Paths
Use these techniques to ensure that scripts containing command paths with spaces will run correctly.
Naming Temporary or Output Files
These three techniques let you ensure unique temporary or output filenames.
John Savill's PowerShell Master Class

Join John Savill for 9 hours of comprehensive PowerShell training. This course will start from the ground up, walking through the basics of PowerShell, how to create basic scripts, and building toward creating custom modules to achieve amazing results in your environment, in non-Microsoft environments, and in Azure.

Invest a few hours each week and become the #1 PowerShell expert in your organization.

Sessions meet Thursdays, March 5th through March 19th

Topics covered will include:

  • Remote management with PowerShell
  • Connecting commands and mastering objects
  • Creating PowerShell scripts and best practices to aid in code reuse
  • Parsing data and working with objects
  • Desired State Configuration
  • Building PowerShell workflows using Orchestrator SMA and Azure Automation
  • PLUS new capabilities in PowerShell 4.0 and 5.0

 

Windows Forums

The Windows IT Pro forums are moving to myITforum.com! Get answers to questions, share tips, and engage with the IT professional community.

Sponsored Introduction Continue on to (or wait seconds) ×