Using AccountManagement classes to set local accounts expiry

This is a little more verbose than the WinNT example function set-expirydate { [ CmdletBinding ( SupportsShouldProcess = $true ) ] param ( [ parameter ( ValueFromPipeline = $true , ValueFromPipelineByPropertyName = $true ) ] [string] $computer , [ parameter Read More...

Read the complete post at http://msmvps.com/blogs/richardsiddaway/archive/2011/07/15/using-accountmanagement-classes-to-set-local-accounts-expiry.aspx


Posted Jul 15 2011, 04:20 AM by Richard Siddaway's Blog
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.