Project

General

Profile

Tâche #33756

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

Faire l'action Salt

Added by Emmanuel GARETTE over 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
07/16/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

History

#1 Updated by Emmanuel GARETTE over 2 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Emmanuel GARETTE over 2 years ago

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 Updated by Joël Cuissinat about 2 years ago

  • Status changed from En cours to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0

Also available in: Atom PDF