About 50 results
Open links in new tab
  1. Get-Credential (Microsoft.PowerShell.Security) - PowerShell

    The Get-Credential cmdlet prompts the user for a password or a user name and password. You can use the Message parameter to specify a customized message for the prompt. In Windows …

  2. How do I reset the local PC Administrator Password using …

    Feb 21, 2024 · To reset the password of the local Administrator you can use the Set-LocalUser cmdlet. $Password = Read-Host -AsSecureString Set-LocalUser -Name Administrator …

  3. Windows LAPS PowerShell Cmdlets Overview | Microsoft Learn

    May 6, 2025 · Windows Local Administrator Password Solution (Windows LAPS) includes the LAPS PowerShell module. Learn about its cmdlets, features, and how they compare to legacy …

  4. Get-LapsADPassword (LAPS) | Microsoft Learn

    The Get-LapsADPassword cmdlet allows administrators to retrieve LAPS passwords and password history for an Active Directory computer or domain controller object. Depending on …

  5. Set-ADAccountPassword (ActiveDirectory) | Microsoft Learn

    This command sets the password of the user account with SamAccountName elisada to qwert@12345. Using -NewPassword with a value, without providing an -OldPassword …

  6. Get-ADDefaultDomainPasswordPolicy (ActiveDirectory)

    The Get-ADDefaultDomainPasswordPolicy cmdlet gets the default password policy for a domain. The Identity parameter specifies the Active Directory domain. You can identify a domain by its …

  7. Get-ADUserResultantPasswordPolicy (ActiveDirectory) | Microsoft …

    The Get-ADUserResultantPasswordPolicy cmdlet gets the resultant password policy object (RSoP) for a user. The RSoP is defined by the Active Directory attribute named msDS …

  8. Get-ADFineGrainedPasswordPolicy (ActiveDirectory) | Microsoft …

    The Get-ADFineGrainedPasswordPolicy cmdlet gets a fine-grained password policy or performs a search to retrieve multiple fine-grained password policies. The Identity parameter specifies the …

  9. Get-ADFineGrainedPasswordPolicySubject (ActiveDirectory)

    The Get-ADFineGrainedPasswordPolicySubject cmdlet gets users and groups that are subject to a fine-grained password policy. The Identity parameter specifies the fine-grained password …

  10. Azure AD Cloud User - find when password will expire

    Dec 4, 2019 · For a regular user, you can calculate the expiration date based on the LastPasswordChangeTimestamp value and the corresponding password policy settings. …

Refresh