< Back
Get-ADUserExpireDate
Post
NAME Get-ADUserExpireDate
SYNOPSIS
Find domain users password expirate date.
SYNTAX
Get-ADUserExpireDate [[-user] <String>] [[-span_days] <Int32>] [<CommonParameters>]
DESCRIPTION
Handy to find user password expiration time when you don't control AD. Show Warning by default on less than 1 week.
PARAMETERS
-user <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-span_days <Int32>
Required? false
Position? 2
Default value 8
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ADUserExpireDate -user $env:username -span_days 14
RELATED LINKS
SYNOPSIS
Find domain users password expirate date.
SYNTAX
Get-ADUserExpireDate [[-user] <String>] [[-span_days] <Int32>] [<CommonParameters>]
DESCRIPTION
Handy to find user password expiration time when you don't control AD. Show Warning by default on less than 1 week.
PARAMETERS
-user <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-span_days <Int32>
Required? false
Position? 2
Default value 8
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ADUserExpireDate -user $env:username -span_days 14
RELATED LINKS