Toggle Smart Card Logon Requirement with Set-ScForceOption

Two-factor authentication with smart cards is becoming more common, but it can be a real pain when the computer is broken and Windows is refusing to allow a local account to logon for troubleshooting. The security setting Interactive logon: Require smart card may prevent console logons, but if the registry can still be accessed over []

VMware View Cmdlets and PowerShell Implicit Remoting

One of the differences between the VMware View cmdlets and PowerCLI is that the View cmdlets can only be run on the connection server itself. Despite the lack of a Connect-VIServer equivalent, with PowerShell Implicit Remoting it’s still possible to use these cmdlets from a workstation. First, PowerShell Remoting needs to be enabled on the []

Sessions from the 2012 Orlando IT Pro Camp

Thank you to everyone that attended the Orlando IT Pro Camp. It was a great opportunity to learn and network with other IT Professionals. Here are the slides and resources from my sessions. Introduction to PowerShell Remoting Slide deck for Introduction to PowerShell Remoting Layman’s Guide to PowerShell 2.0 Remoting Ravikanth Chaganti Administrator’s Guide to []

Switching Between PowerShell Prompts with Set-Prompt

I’m usually pretty happy with the default PowerShell prompt that displays the current path, however sometimes I just want a generic prompt for screenshots or a demonstration. With an infinite number of custom PowerShell prompts possible, it became apparent that the appropriate prompt depends on the current task. By copying the Set-Prompt function into $Env:UserProfile\Documents\WindowsPowerShell\profile.ps1, []

Enable RSAT Features with PowerShell and Dism

Checking boxes gets old quickly, and I’ve installed and checked those little boxes for the Remote Server Administration Tools (RSAT) on Windows 7 enough times for it to be annoying. I just wanted a static script with the names of the features to enable, but Xenophane’s Blog has some examples of extracting the output of []

Orlando IT Pro Camp Sessions

I will be presenting two sessions at the Orlando IT Pro Camp on January 21st. IT Pro Camp is a free, one-day learning event for IT Professionals. There will be a wide range of topics presented by speakers of all backgrounds and experience. I highly recommend stopping by if you’re in the Orlando area that []

Version Control for PowerShell

Last night I gave a presentation on using version control for the Tampa PowerShell User Group. This presentation was mostly a demo of using TortoiseHg, and how it can be useful for IT Pros that need to manage production scripts. Here is the slide deck and links to more information. Version Control for PowerShell Slide []

PowerShell 3.0 Community Technology Preview

Microsoft released the Community Technology Preview (CTP) of the Windows Management Framework 3.0, which includes PowerShell v3. This can be installed on Windows 7 SP1 and Server 2008 R2 SP1. This is a pre-release version to allow the IT community to review the software and provide feedback. Windows PowerShell Customer Connection Microsoft Connect is where []

Windows 8 Developer Preview with PowerShell v3

Microsoft released the Windows 8 developer preview last night, which includes PowerShell version 3! The IT Pros that couldn’t sleep last night are reporting hundreds of new cmdlets and functions over what’s available in Windows 7. The Windows 8 developer preview can be downloaded at the Windows Dev Center.

Using Version Control for PowerShell

Software developers wouldn’t think of working on a project without some type of version control for their source code. So why is this is a rare topic for IT Pros that maintain production scripts with hundreds or thousands of lines of code? Version control, revision control and source control are terms used to describe the []