Please help me to find the replacement or alternative cmdlet for “Add-Computer”. I am new with PowerShell. I am just following some tutorial. I know Add-Computer works in Windows PowerShell. Do we have a command in PowerShell 7 that will allow me to add a computer into a domain? Thank you so much for the help.
… seems like that this particular cmdlet does not work in PowerShell 7. But the existence of PowerShell 7 does not mean Windows PowerShell wouldn’t work anymore. PowerShell 7 is not an update of Windows PowerShell. It’s installed side by side. So you’re still able to use Windows PowerShell for certain tasks.