Projet

Général

Profil

Tâche #33756

Scénario #32254: Étudier la possibilté de renommer le poste client en plus de la clé Salt

Faire l'action Salt

Ajouté par Emmanuel GARETTE il y a environ 2 ans. Mis à jour il y a presque 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
16/07/2021
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Historique

#1 Mis à jour par Emmanuel GARETTE il y a environ 2 ans

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Emmanuel GARETTE il y a environ 2 ans

Les lignes de powershell pour renommer le poste :

$password = ConvertTo-SecureString "sIf68GLbgwsAVkoxtUoWE92oc4cDgcTLIwlmbw6cvx" -asPlainText -Force
$username = "DOMPEDAGO\eole-workstation-manager" 
$new_name = "trutru" 
$credential = New-Object System.Management.Automation.PSCredential($username,$password)
Rename-Computer -NewName $new_name -DomainCredential $credential -Force -Restart

#3 Mis à jour par Joël Cuissinat il y a presque 2 ans

  • Statut changé de En cours à Fermé
  • % réalisé changé de 0 à 100
  • Restant à faire (heures) mis à 0.0

Formats disponibles : Atom PDF