removed rename-computer function. This is solved by adding constraint that powershell 3 is a requirement.