Skip to content
Snippets Groups Projects
Commit c7fd353a authored by Martin Čuchran's avatar Martin Čuchran
Browse files

Upload new file

parent 67c2610c
Branches master
No related tags found
No related merge requests found
#ps1_sysnative
Start-Transcript -Path "C:\windows\temp\$(get-date -format "yyyy-MM-dd_hh-mm-ss").txt";
$secpasswd = ConvertTo-SecureString "V&Kx64H-cf_TaFan4YcG" -AsPlainText -Force;
$mycreds = New-Object System.Management.Automation.PSCredential ("UPS\addtodomOPENSTACK", $secpasswd);
Add-Computer -DomainOrWorkgroupName 'ups.ucn.muni.cz' -OUPath 'OU=PB009,OU=OPENSTACK,DC=ups,DC=ucn,DC=muni,DC=cz' -Reboot -Credential $mycreds;
Stop-Transcript;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment