added scripts and SUPERMICRO

This commit is contained in:
2012-02-29 15:47:11 -05:00
parent 939e57d438
commit b9cd8bbfd2
818 changed files with 35440 additions and 0 deletions

16
addvmhostuser.ps1 Normal file
View File

@@ -0,0 +1,16 @@
$VMhosts = Get-Content c:\error.txt
Foreach ($vmhost in $vmhosts){
connect-viserver $vmhost -user root -password 351iq814
connect-viserver $vmhost -user root -password s716X1aF
connect-viserver $vmhost -user root -password ^mIsC00l
connect-viserver $vmhost -user root -password "B@Rn3Z!)"
#rite-Output $vmhost.Name
#Get-VMHostAccount -Server $vmhost -ID sstent
Get-VMHostAccount -Server $vmhost -ID sstent | Remove-VMHostAccount -Confirm:$false
New-VMHostAccount -Server $vmhost -UserAccount sstent -Password "s4a9fN2]R" -AssignGroups "root" -GrantShellAccess
}