‘Twas the Night Before Scripting: Part 2

Summary: Dr. Scripto helps an Admin learn how to easily modify custom attributes in Active Directory. Microsoft Scripting Guy, Ed Wilson, here. If you missed it yesterday, see Sean’s latest video: Just Script It! Also be sure to read yesterday’s post before you start on today’s: ‘Twas the Night of Before Scripting: Part 1. Here’s…


PowerTip: Create a Secure Password with PowerShell

Summary: Use Windows PowerShell to make a plain text entry into a secure password.   Is there a way I can use Windows PowerShell and my working script to make a secure string password without using Read-Host?  Use the ConvertTo-SecureString cmdlet: $MyBoringPassword=”OhThisCouldBeSecure!ButEverybodyIsReadingThisOnTheInternet!” To convert this to a SecureString, which is typically needed when you create a…


‘Twas the Night of Before Scripting: Part 1

Summary:  Dr. Scripto teaches a non-scripting Administrator to easily create users in Active Directory. Microsoft Scripting Guy, Ed Wilson, here. Returning once again to delight us all with a little holiday merriment is Honorary Scripting Guy, Sean Kearney. Other than his habit of occasionally singing off-key Windows PowerShell music, he has taken on the challenge…


PowerTip: Debug a Workflow with PowerShell 4.0

Summary: Use Windows PowerShell 4.0 to debug a workflow.  How do I set a breakpoint in a Windows PowerShell script workflow?  Add the workflow to a script and use Set-PSBreakpoint to set a line breakpoint in the workflow: Set-PSBreakpoint -Script C:Test-MyWorkflow1.ps1 -Line 12   ID Script                           Line Command   Variable  Action — ——                           —- ——-   ——– …


Security Series: Using PowerShell to Enable BYOD–Part 2

Summary: Guest blogger and security expert, Yuri Diogenes, continues his series about enabling BYOD. Microsoft Scripting Guy, Ed Wilson, is here. Today’s guest blogger is Yuri Diogenes, who continues his security series about enabling BYOD. Yuri is a senior knowledge engineer, and he is a coauthor of the book Windows Server 2012 Security from End to…


PowerTip: Use PowerShell to Discover Console Colors

Summary:  Use Windows PowerShell to discover console color assignment.  How can I see what colors are assigned in the Windows PowerShell console?  Use the Get-Host cmdlet and expand the PrivateData property: (get-host).privatedata


Migrating Host-Named Site Collections

Summary: Guest blogger and Microsoft PFE, Chris Weaver, talks about using Windows PowerShell to migrate host-named site collections. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back today to guest blogger, Chris Weaver… This week I was onsite with a customer in North Carolina. They were migrating to SharePoint 2013, but they hit an issue with…


PowerTip: PowerShell One-Liner to Find Short Aliases

Summary:  Use this Windows PowerShell one-liner to find one-, two-, three-, and four-letter aliases.  How can I use a Windows PowerShell one-liner to find the number of default aliases that are one, two, three,           and four letters long?  Use the range operator to create an array with 1 through 4…


Store PowerShell Profile on SkyDrive

Summary: Guest blogger, JD Platek, talks about storing the Windows PowerShell profile on SkyDrive. Microsoft Scripting Guy, Ed Wilson, is here. Today I would like to introduce a new guest blogger. Please welcome JD Platek. JD has been in IT since 2003, and he is an Exchange Server 2010 and Office 365 MCM. He has supported…


PowerTip: Use PowerShell to List App Background Task Info

Summary: Use Windows PowerShell to list app background task information.  How can I use Windows PowerShell to find performance information about app background tasks on my laptop running Windows 8.1?  Open Windows PowerShell with Admin rights. Use the Get-AppBackgroundTask cmdlet,           and include the complete name of the app and the –IncludeResourceUsage switch.      …