EXPRESS's Posts

Shutdown using... # This Script will PowerOff VM's listed in c:\vmlist.txt add-PSSnapin VMware.VimAutomation.Core | Out-Null Connect-VIServer vcenter-server -User domain\adm -Pass 123456 ... See more...
Shutdown using... # This Script will PowerOff VM's listed in c:\vmlist.txt add-PSSnapin VMware.VimAutomation.Core | Out-Null Connect-VIServer vcenter-server -User domain\adm -Pass 123456 # Get VM's from c:\vmlist.txt then ShutDown each one. Get-Content C:\Scripts\vmlist.txt | % { Get-VM $_ | Shutdown-VMGuest -Confirm:$false } # Get VM's from c:\vmlist.txt then Restart each one. # Get-Content C:\vmlist.txt | % { Get-VM $_ | Restart-VMGuest -Confirm:$false } # Email log file send-mailmessage -SmtpServer "smtp.domain.com" ` -from "VM-ShutDown <machine@domain.com>" ` -to "Admin@domain.com>" ` -subject "ShutDown_$((get-date).toString('MM-dd-yyyy_hh:mmtt'))" ` -body "VM ShutDown Script has been sent"
I have a powershell script which i was able to get from the community several years ago and still use it to this day. I schedule a shutdown and startup every weekend.
Make sure your vCenter is at same version. Same thing happened to me, I had to roll back update and apply only what I needed I then was fine.
Geez, i thought by now someone had a quick fix for this. VMware clearly there is an issue you guys need to address. if someone has any suggestions please inform. Thanks
So I have been taking my time installing VC6, installed 2 external PSC's and 2 vCenter Servers and setup of VMCA as subordinate ca a pain but it was done and completed and no issues as of this po... See more...
So I have been taking my time installing VC6, installed 2 external PSC's and 2 vCenter Servers and setup of VMCA as subordinate ca a pain but it was done and completed and no issues as of this point. THEN I SRM 6.1 is installed on each of the vCenter Servers. When I try and see the other site to pair I am getting the following error. I have seen the following KB's 2109074, 2121689 and 2121701. Is this really the only way of getting this fixed? I haven't done them yet in hopes someone else has found a better and quicker fix. So frustrating with these certs issues, VMware can't get things done simple.  Error Cause: Failed to connect to Lookup Service at https://mydoamin.com:443/lookupservice/sdk. Reason: com.vmware.vim.vmomi.core.exception.CertificateValidationException: Server certificate chain not verified Thanks in advance,
Everyone is okay with this i take it....
Okay come on guys what is it with adding new components that then need more resources? Now I need to either add another VM or Physical machine just to be able to install a standalone software Pla... See more...
Okay come on guys what is it with adding new components that then need more resources? Now I need to either add another VM or Physical machine just to be able to install a standalone software Platform Services Controller?? Really? Why don't they make things easier instead of making more of a mess. Wasn't 5.1 a lesson to be learned with SSO and Certs? Now time to add another twist and mess admins up with this... Is it only me or isn't this really nonsense? VMWare lets get it together and make life better not more complicated. I thought the whole reason to go virtual is to use less not more!!! Comments, suggestions, anything???
Can the Fling ESXi Embedded Host Client login be customized like the vSphere 6.0 web client login? Has anyone tried it? Thanks
HI I am seeing the exact same msg's what was your corrective action for this if any?? Thanks
Double check the name of the host you are adding to VC. In my experience I added a few new host and the naming convention was my issue. I had used an underscore "_" in the name once I renamed it ... See more...
Double check the name of the host you are adding to VC. In my experience I added a few new host and the naming convention was my issue. I had used an underscore "_" in the name once I renamed it with out it all was good.
VMware leave things as is do not take away the fat client not yet. You know you have made mistakes before and because of customers you have had to turn things back around. Do the right thing and ... See more...
VMware leave things as is do not take away the fat client not yet. You know you have made mistakes before and because of customers you have had to turn things back around. Do the right thing and make your improvements to the Web Client but let the comunity let you know when we are ready for this as of right now VMware you are not ready. As an admin I have not and will not upgrade our VM's to hardware level 10 I do not want to rely on using the web client just as everyone else said in these post too many pains. Once fixed trust me we will let you know to get rid of the fat client, but as of now nah not yet. Listen to your cutomers VMware, listen to us.
Nice tools but what I'm looking for is the ability to see the windows I posted above when I am check the guest to see if its locked by a user. Thanks
I am looking for a hack (ok not a hack) a script or a process or something that i am just missing? That will enable me to see if a Windows 7 VM is in use and by whom in Virtual Center. This will ... See more...
I am looking for a hack (ok not a hack) a script or a process or something that i am just missing? That will enable me to see if a Windows 7 VM is in use and by whom in Virtual Center. This will be helpful when doing after hours work and I am not sure if the user is logged on or not. In XP you normally see this when an XP session is in use or locked; See xp_jdoe.gif But in Windows 7 all you see is: See win7_jdoe.gif (and please dont say hit the ctrl alt del becasue that just takes you to the log screen which is blank see the next pic. Any help or direction Thanks in advance
LucD, Yep, got it to work, thank you. Here it goes below incase anyone has any use for it as well, I have it set to email the report as well. add-PSSnapin VMware.VimAutomation.Core | Out-Nu... See more...
LucD, Yep, got it to work, thank you. Here it goes below incase anyone has any use for it as well, I have it set to email the report as well. add-PSSnapin VMware.VimAutomation.Core | Out-Null connect-viserver VC55.mycomp.com -User admin -Pass P@$$w0rD Get-VMHost -Name esx1, esx2, esx3 | Get-VM | Select-Object -Property Name ,@{N="State";E={$_.Guest.State}},@{N="ToolsStatus";E={$_.Guest.ExtensionData.ToolsStatus}} | Where-Object {$_.ToolsStatus -eq "toolsNotRunning" -or $_.ToolsStatus -eq "toolsOld" -or $_.ToolsStatus -eq "toolsNotInstalled"} | Format-Table -AutoSize | Out-File "C:\Logs\Status_$((get-date).toString('MM-dd-yyyy_hh.mmtt')).log" $logsFile = Resolve-Path "C:\Logs\*.log" $SmtpServer = "smtp.mycomp.com" $EmailFrom = "ToolsStatus@mycomp.com" $EmailTo = "Me<Me@mycomp.com>" $Body = Get-VMHost -Name esx1, esx2, esx3, | Get-VM | Select-Object -Property Name ,@{N="State";E={$_.Guest.State}},@{N="ToolsStatus";E={$_.Guest.ExtensionData.ToolsStatus}} | Where-Object {$_.ToolsStatus -eq "toolsNotRunning" -or $_.ToolsStatus -eq "toolsOld" -or $_.ToolsStatus -eq "toolsNotInstalled"} | ConvertTo-Html $Body += "<br> </br>" $Body += "Listed Servers should be updated or checked." $Subject = "Status_$((get-date).toString('MM-dd-yyyy_hh:mmtt'))" $mailer = new-object Net.Mail.SMTPclient($SmtpServer) $msg = new-object Net.Mail.MailMessage($EmailFrom,$EmailTo,$Subject,$Body) $msg.IsBodyHTML = $true $mailer.send($msg) Thank you,
LucD, I still got the same results, All the VM's are still showing up. Is there a way to to an exclude of hosts?
Hi All, I am looking for a way to get a list of all my VM's Tools Status but not from all the hosts in my Virtual Center 5.5. I have 6 hosts but only need information from 4 of them. I dont ... See more...
Hi All, I am looking for a way to get a list of all my VM's Tools Status but not from all the hosts in my Virtual Center 5.5. I have 6 hosts but only need information from 4 of them. I dont know how to exclude hosts so my report doesnt show VM's i dont want. This is what I have which I have got from the community... Get-VM | ` Select-Object -Property Name,@{N="State";E={$_.Guest.State}},@{N="ToolsStatus";E={$_.Guest.ExtensionData.ToolsStatus}}  | ` Where-Object {$_.ToolsStatus -eq "toolsNotRunning" -or $_.ToolsStatus -eq "toolsOld" -or $_.ToolsStatus -eq "toolsNotInstalled"} it provides all the VM's in VC i would just like to include the ones from the hosts needed. I am not sure how to do that, i tried messing with Get-VMHost -Location, i have tried a few ways but nothing. Thanks in advance.
Yep. It is compatible. Seems like an authentication issue. Just not sure if its on the emc side of it. Not easy finding documentation for setting up recoverpoint. 
I have restarted all the services as well...
Thanks for the info. Can you I ask you a question as well? I just posted a new discussion but I figured I'd ask you since you have yours set up. Do you mind sharing your RecoverPoint set up? O... See more...
Thanks for the info. Can you I ask you a question as well? I just posted a new discussion but I figured I'd ask you since you have yours set up. Do you mind sharing your RecoverPoint set up? Our storage guys have set RecoverPoint, but when ever I try and add the array it fails to connect. Not sure where the problem may be, I installed the latest adapter which is now 2.2.0.0. But I think something on the Unisphere may need additional attention. Any advice or help, Thanks.
Setting up SRM 5.5 using RecoverPoint new install and setup. I have downloaded and installed the recommended SRA Adapter in my SRM server, which is EMC_RecoverPoint_Storage_Replication_Adapter... See more...
Setting up SRM 5.5 using RecoverPoint new install and setup. I have downloaded and installed the recommended SRA Adapter in my SRM server, which is EMC_RecoverPoint_Storage_Replication_Adapter_Version_2.2.0.0. The Unisphere for RecoverPoint I believe has been set up properly too. But I must be missing something. Every time I try and add the array using the either the IP or the FQDN with the user name and password of Unisphere it will not connect. I get the following error: See attachment, any insight what am I missing? Thanks