About 22,000 results
Open links in new tab
  1. Got "Access is denied" when I tried to rename the computer

    Rename-Computer -NewName "newname" -DomainCredential "Domain\Administrator" If the computer is a workgroup computer (not part of a domain), you do not need to specify …

  2. How do I change the hostname of a Windows PC with batch or …

    Oct 28, 2021 · But when I run man Get-WmiObject in PowerShell, the description indicates it has been "superseded" by Get-CimInstance. Using the old Get-WmiObject command you could …

  3. Rename computer and join to domain in one step with PowerShell

    Jun 3, 2011 · Goal: On a computer running Windows Server 2008 R2, use PowerShell 2.0 to: Rename the computer Join the computer to a domain Condition: Steps 1 and 2 must be …

  4. powershell - The term 'Rename-Computer' is not recognized as …

    PS C:\Windows\system32> Rename-Computer -NewName PC02 The term 'Rename-Computer' is not recognized as the name of a cmdlet, function, script f ile, or operable program. Check the …

  5. How to remotely rename a list of computers via PowerShell?

    Apr 6, 2017 · Bulk rename computers in AD Powershell bulk rename computers in AD with test if pc is online and if new name is already taken and log "not-renamed" PC.

  6. Rename-Computer not working after upgrading to Windows 11

    Oct 2, 2024 · Rename-Computer not working after upgrading to Windows 11 Asked 1 year, 2 months ago Modified 1 year, 2 months ago Viewed 482 times

  7. powershell - Rename-Computer is throwing "access is denied" …

    Dec 12, 2019 · So WMI and DCOM are "fun", but why not just try Invoke-Command to remote to the machine and perform the Rename-Computer locally? (If the VMs are supposed to be …

  8. How to rename machine/computer name through c# - Stack …

    Feb 5, 2024 · Rename-Computer has a -ComputerName parameter that allows you to target another computer. Software like Windows Admin Center can do all this and more with a nice UI

  9. How to rename a domain computer in Powershell - Stack Overflow

    Jan 27, 2017 · How to rename a domain computer in Powershell Asked 8 years, 10 months ago Modified 8 years, 10 months ago Viewed 5k times

  10. Entering a password for DomainCredential in Rename-Computer …

    I can get the rename to work locally with no problems but I am hoping I can get some help doing it silently. I guess my question is, how do I put a password in my powershell script so I don't …