Bill Stewart

Bill
Stewart

Bill Stewart is a scripting guru who works with the Enterprise Technology Services group at Indian Health Service in Albuquerque, New Mexico. He has written numerous articles about Windows scripting and is a moderator for Microsoft's Official Scripting Guys Forum. He has also written some useful free tools for the Windows IT community, which are available from his website at http://www.westmesatech.com

Articles
Securely resetting the Administrator account password for a computer
Resetting the Local Administrator Password on Computers 4
Resetting an Administrator account password with a Group Policy Object isn't secure. Here's how to securely reset the Administrator account password.
Enforcing Administrators group membership
Enforcing the Membership of the Administrators Group
Here's a solution for managing the members of the Administrators group on computers when you don't have an Active Directory domain or you can't use Group Policy.
Pointing out common pitfalls when running executables in PowerShell
Running Executables in PowerShell
Correctly constructing an executable's command line in PowerShell can be confusing. The guidelines presented here can help you avoid common pitfalls.
brass parts of a steam engine
Windows PowerShell Operators
A good understanding of Windows PowerShell's operators is a must if you want to increase your understanding of PowerShell and the efficiency of your code.
highway overpasses tinted blue
Windows PowerShell Constructs
PowerShell provides a number of language constructs that let you control the flow of your script as well as make decisions about what it should do.
bright ball of light with Active Directory object names flowing away from it
View or Remove Active Directory Delegated Permissions 1
Microsoft provides tools to remove delegated permissions, but they have some limitations. Here's a Windows PowerShell script that not only overcomes these limitations but also provides an easy-to-read list of which users or groups have delegated permissions.
White lined paper with blue inked CREATE drawn across it
Creating Custom Objects in Windows PowerShell 2
One of Windows PowerShell's most useful features is the ability to create your own custom objects on demand containing the properties you need.
sign post with many different directions, sunset in background
Use PowerShell to Handle Active Directory Paths
Add the Get-ADPathname.ps1 script to your toolbox and stop writing unnecessary code to parse Active Directory paths.
Blue Shell
PowerShell Basics: Arrays and Hash Tables
Arrays and hash tables are two basic data structures that you need to understand in order to work effectively in Windows PowerShell.
PowerShell
Importing and Exporting CSV and XML Files in PowerShell
Windows PowerShell provides some exceptionally powerful and easy-to-use cmdlets to help you import and export CSV and XML files, virtually eliminating the need for manual parsing.
PowerShell Basics: Variables
Understanding PowerShell variables is important because variables are such an integral part of how PowerShell works.
PowerShell tab
Expanding Tabs to Spaces in PowerShell
Although the More.com program in Windows can expand tabs to spaces, here's a native PowerShell function that performs this task so you can take better advantage of PowerShell's pipeline.
Translating Active Directory Object Names Between Formats
The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.
Get Hex Dumps of Files in PowerShell 2
PowerShell doesn't have a native cmdlet suitable for viewing the content of binary files. Use the Get-HexDump.ps1 script to view binary-file content in PowerShell.
Comparing File Version Numbers in VBScript and PowerShell
File versions are important metadata for admins, but these 64-bit, unsigned integers can be tricky to handle properly, particularly from scripts. Find out how to take the pain out of comparing two version numbers.
Master-Level Microsoft Stack Training with John Savill

Get 30 hours of comprehensive training covering the complete Microsoft solution stack. Invest a few hours each week and become the #1 Microsoft expert in your organization.

Past Sessions Available for Instant Access! Access to Recordings through May 20, 2015

Semester 1: October 30th to December 4th
Semester 2: January 22nd to February 19th

John Savill will cover topics including:

* Deploying, Managing, and Maintaining Windows
* Key Features of Active Directory from Windows 2000 to Windows Server 2012
* Key elements of System Center 2012 and System Center 2012 R2
* Deploying, Migrating to and Managing Hyper-V in Your Organization
* Implementing a Private Cloud
* Using PowerShell to Automate Common Tasks
* PLUS a preview of Windows 10

 

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) ×