Posted On August 26, 2021

Quick PowerShell Cmdlet to Move Computer Object

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Quick PowerShell Cmdlet to Move Computer Object
$computername='SomeComputerName'
$targetOU='OU=Computers,DC=kimconnect,DC=com'
Move-ADObject -Identity (Get-ADComputer $computername).objectguid -TargetPath $targetOU

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Fix DFS Replication Problems

1. Remove failed server from Replication Group 2. Right-click "System Volume Information" >> Properties >>…

Sample Multi-Site Metadata

SimpleSAML PHP module requires that each site to be configured with a $metadata entry. Below…

How to increase the database size limit on Exchange 2003 SP2

Connect to the Server that is running Exchange 2003 SP2 Click Start > Run >…
Other project: DragonCoin.com