This is the built-in help made by Microsoft for the command 'Reset-ComputerMachinePassword', in PowerShell version 2 - as retrieved from
Windows version 'Microsoft® Windows Vista™ Ultimate ' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Resets the machine account password for the computer.
Reset-ComputerMachinePassword [-Server <string>] [-Confirm] [-WhatIf] [<CommonParameters>]
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.
<
Online version: http://go.microsoft.com/fwlink/?LinkID=135252
<
-------------------------- 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.