/build/static/layout/Breadcrumb_cap_w.png

Can someone help me with this script please ?

we are getting new thin clients(win 10 Pro) and are building a script that will do the following. Can someone please assist in making a powershell or any script that can achieve the below tasks ?

1) Change the name of the client

2) join the active directory domain

3) Push the VMware horizon client onto the desktop of the thin client


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Mashby1 3 weeks ago
Orange Belt
0

For the name change use this: Article: Get/Set ComputerName (itninja.com)

For the horizon silent install, use this: Install Horizon Client From the Command Line (vmware.com)

For Domain join use: Scripting : Looking for k2000 "Join Domain" powershell script............ (itninja.com) OR simply (with your values):

$domain= "your.domain.com"

$password= "admin_user_pswd" | ConvertTo-SecureString -asPlainText -Force 

$user= "$domain\user.name" 

$cred= New-Object System.Management.Automation.PSCredential($user,$password) 

$oupath = "CN=XXXX,DC=XXXX,DC=XXXXX,DC=XXXX" 

Add-Computer -domainname $domain -oupath $oupath -Credential $cred -ErrorAction silentlycontinue 

Add-Computer -DomainName $domain -Credential $cred



Hope that helps get you going?

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ