Public/Join-Domain.ps1
<#
.DESCRIPTION Joins pc to a domain .PARAMETER Domain Domain the computer or server is being joined to .EXAMPLE Join-Domain -domain company.com .Link https://github.com/TheTaylorLee/AdminToolbox #> function Join-Domain { [CmdletBinding()] param ( [Parameter(Mandatory = $true)]$domain ) Add-Computer -DomainName $domain -Credential $credentials } |