Reset-ComputerMachinePassword - PowerShell command help and examples

Resets the machine account password for the computer. (Reset-ComputerMachinePassword)


NAME
Reset-ComputerMachinePassword
SYNOPSIS
Resets the machine account password for the computer.
SYNTAX
Reset-ComputerMachinePassword [-Server <string>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Reset-ComputerMachinePassword cmdlet changes the machine account password that the computers use to authenticate to the domain controllers in the domain. You can use it to reset the password of the local computer.
PARAMETERS
-Server <string> Specifies the name of a domain controller to use when setting the machine account password. This parameter is optional. If you omit this parameter, a domain controller is chosen to service the command. Required? false Position? named Default value None Accept pipeline input? false Accept wildcard characters? false -Confirm [<SwitchParameter>] Prompts you for confirmation before executing the command. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false -WhatIf [<SwitchParameter>] Describes what would happen if you executed the command without actually executing the command. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false <CommonParameters> This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type, "get-help about_commonparameters".
INPUTS
None You cannot pipe input to this cmdlet.
OUTPUTS
None This cmdlet does not generate any output.
NOTES

Examples

EXAMPLE 1
C:\PS>Reset-ComputerMachinePassword
Description
----------- This command resets the machine password for the local computer. The command runs with the credentials of the current user.
EXAMPLE 2
C:\PS>Reset-ComputerMachinePassword -server DC01
Description
----------- This command resets the machine password of the local computer using the DC01 domain controller.
EXAMPLE 3
C:\PS>invoke-command -computername Server01 -scriptblock {reset-computermachinepassword}
Description
----------- This command uses the Invoke-Command cmdlet to run a Reset-ComputerMachinePassword command on the Server01 remote computer. For more information about remote commands in Windows PowerShell, see about_Remote and Invoke-Command. RELATED LINKS Online version: http://go.microsoft.com/fwlink/?LinkID=135252 C:\Windows>powershell get-help Get-Acl -full

Microsoft Windows [Version 10.0.19045.3693]
Copyright (c) 2023 Microsoft Corporation.

ColorConsole [Version 3.7.1000] PowerShell 2.0-Export

Windows 11, 10, 8.1, 8, 7 / Server 2022, 2019, 2016











Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



PowerShell: Resets the machine account password for the computer.

HTTP: ... PS_Windows/en/Reset-ComputerMachinePassword.htm
0.093
18011
Well suited for reducing RAW image data in batch processing!
If the symbols / icons are displayed incorrectly in Windows 11, 10 Explorer!
Help I have too many smartphone pictures, what should I do?
Animated GIF support in the preview window of the File Explorer!
The digital Windows 11, 10, ... clock can also appear decent on the desktop!
Trace packets and follow over the Internet or the LAN!
Nach Windows 10 / 11 Update kein CD/DVD Laufwerk im MS-Explorer!
Speicherverbrauch durch Dienste in Windows 10/11 erkennen!
Automatisch gespeicherte Windows Desktop Icons Layouts umbenennen!
Die Kategorie Ordnung am PC auf Software OK!



(0)