Reset-ComputerMachinePassword - PowerShell


 

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

# 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

ColorConsole [Version 1.7.1000] PowerShell 2.0-Export
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2014 Microsoft Corporation.

OS: Windows 10, 8.1, 8, 7, Vista / Windows Server 2016, 2012, 2008
»»»» ColorConsole








Windows-10





Windows-10

... facebook.de
... Windows-10 FAQ
... Windows-10 Info


Become a Sponsor
... Your button here?





PowerShell: Resets the machine account password for the computer.

HTTP: ... PS_Windows/en/Reset-ComputerMachinePassword.htm
0.28
15553

How to change password, remove or create a new on Windows 10 or Server?

 /

Force Windows Time Format in the Desktop Clock!

 /

Die Gruppenrichtlinien für den Windows 10 Explorer!

 /

IMG file open, how can you do that (ISO)?

 /

Can I control aggressive programs under Windows 8.1 and 10?

 /

Favoriten exportieren von Google Chrome z.B. auf ein Gast-Konto?

 /

Ich habe eine Frage, kann jemand sehen, ob ich auf seinem facebook Profil war? Und wenn ja, wie?

 /

X64, EM64T oder IA64 Prozessoren, wo ist der Unterschied?

 /

Clone all File-Explorer Views in Quad Explorer under Windows 10, 8.1, ...!

 /

Wo ist mein Arbeitsplatz (Computer) auf Windows 8 / 10, um Dateien und Ordner zu verwalten (öffnen, finden, starten)?

 /

How to switch user accounts on windows 8 / 8.1 (change, swop)?

 /

Problem beim Wiederherstellen der Desktop Icons in DesktopOK!

 /