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