PowerTip: Create Empty String with PowerShell
Summary: Learn how to create an empty string by using Windows PowerShell. How can I use Windows PowerShell to create an empty string? Use the static Empty field from the System.String...
View ArticleUsing the Split Method in PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Split method in Windows PowerShell.Microsoft Scripting Guy, Ed Wilson, is here. Dude, dude, dude, (or dudette, as the case may be) I...
View ArticlePowerTip: Use PowerShell Split Operator to Break Strings
Summary: Learn how to use the Windows PowerShell Split operator to break up strings. How can I use Windows PowerShell to break a string at a specific character? Use the Split operator and specify the...
View ArticleTrim Your Strings with PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to trim strings and clean up data.Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife heads out today to...
View ArticlePowerTip: Remove Spaces from Both Ends of String
Summary: Learn to use Windows PowerShell to remove spaces from both ends of a string. How can I use Windows PowerShell to remove spaces at both ends of a string? Use the Trim method from the...
View ArticleWeekend Scripter: Exploring Powershell Profiles
Summary: Microsoft Scripting Guy, Ed Wilson, explores Windows PowerShell profiles and locations.Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about the weekend is that it provides...
View ArticlePowerTip: Find All PowerShell Profile Locations
Summary: Use the hidden properties of $profile to find Windows PowerShell profile locations. How can I find the path to Windows PowerShell profile locations on my computer? Use the –Force parameter...
View ArticleWeekend Scripter: Use PowerShell to Fix Broken Printer
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to fix a printer that keeps losing its duplexer.Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things...
View ArticlePowerTip: Use PowerShell to Display Last Boot Time
Summary: Learn how to use Windows PowerShell to display last boot up time. How can I use Windows PowerShell to find the last time a workstation booted up? Use the WMI Class Win32_OperatingSystem and...
View ArticleTransforming to Active Directory Cmdlets: Part 1
Summary: Learn how to translate between ADSI, Quest, and Windows PowerShell cmdlets to create users in Active Directory. Hey, Scripting Guy!I've got some older scripts that create users by using the...
View ArticlePowerTip: Find List of Users in Active Directory
Summary: Use the Filter parameter in the Active Directory module. I was playing with the Active Directory cmdlets and noticed that they seem to need the Distinguished Name. Is there any way...
View ArticleTransforming the Active Directory Cmdlets: Part 2
Summary: Learn how to transcribe between ADSI, Quest, and Windows PowerShell cmdlets for creating users. Hey, Scripting Guy!I used to use the Quest cmdlets to create new users, but I need to rewrite...
View ArticlePowerTip: Convert Plain Text to Secure String
Summary: Learn to convert a plain text password to a secure string for cmdlet parameters. I'm trying to convert some scripts to work with the Active Directory modules, but they need a...
View ArticleTransforming the Active Directory Cmdlets: Part 3
Summary: Learn how to translate between ADSI, Quest, and Windows PowerShell cmdlets for creating users. Hey, Scripting Guy!I downloaded a script from the Internet to remove users, but it's designed to...
View ArticlePowerTip: Use PowerShell to Determine ASCII Value
Summary: Learn to use Windows PowerShell to determine the ASCII numeric value of a character. How can I use Windows PowerShell to tell the ASCII value of a character? You can get the numeric value of...
View ArticleTransforming the Active Directory Cmdlets: Part 4
Summary: Learn how to translate between ADSI, Quest, and Windows PowerShell cmdlets to read additional user properties. Hey, Scripting Guy!I'm trying figure something out. I can get some properties...
View ArticlePowerTip: Identify All Properties for Active Directory User
Summary: Use the –Properties parameter to find all properties attached to an Active Directory user. How can I use Windows PowerShell rather than digging through the ADSI editor to find the...
View ArticleTransforming the Active Directory Cmdlets: Part 5
Summary: Learn how to translate between ADSI, Quest, and Windows PowerShell cmdlets for creating users. Hey, Scripting Guy!Today I'm translating a script for modifying user properties and I could...
View ArticlePowerTip: List All Parameters for a Cmdlet
Summary: Learn to provide a parameter list for a cmdlet in a viewable table. I am trying to work with cmdlets with so many parameters that I am having a hard time reading them in Get-Help....
View ArticleWeekend Scripter: Authentication Silos Part 1
Summary: Microsoft PFE, Ian Farr, talks about using Windows PowerShell to handle Authentication Policy Silos.Microsoft Scripting Guy, Ed Wilson, is here. This weekend we have a two-part series from Ian...
View Article