From LedHed's Wiki
Jump to: navigation, search
(Created page with "== Overview == Who hasn't wanted to rejoin a workstation without a reboot? Well here's how! Test-ComputerSecureChannel -Repair -Credential (Get-Credential) == Reference ==...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
Who hasn't wanted to rejoin a workstation without a reboot? Well here's how!
+
Who hasn't wanted to rejoin a workstation without a reboot? Well here's how! (Ya ya NETDOM I know).
  
 +
PowerShell
 
  Test-ComputerSecureChannel -Repair -Credential (Get-Credential)
 
  Test-ComputerSecureChannel -Repair -Credential (Get-Credential)
 +
 +
Want to do it on a remote workstation?
 +
Invoke-Command -ComputerName "Server01" -ScriptBlock {Reset-ComputerMachinePassword}
  
  
Line 9: Line 13:
  
  
[Category:Windows]
+
[[Category:Windows]]

Latest revision as of 06:02, 17 May 2018

Overview

Who hasn't wanted to rejoin a workstation without a reboot? Well here's how! (Ya ya NETDOM I know).

PowerShell

Test-ComputerSecureChannel -Repair -Credential (Get-Credential)

Want to do it on a remote workstation?

Invoke-Command -ComputerName "Server01" -ScriptBlock {Reset-ComputerMachinePassword}


Reference

http://kunaludapi.blogspot.com/2016/03/powershell-rocks-rejoin-computers-in.html?m=1