tag:blogger.com,1999:blog-2269516327950490847.comments2023-03-28T08:39:06.775-04:00vNuggletsAC (@allen_crawford)http://www.blogger.com/profile/05360032132878174436noreply@blogger.comBlogger173125tag:blogger.com,1999:blog-2269516327950490847.post-40355502882191100722021-09-16T16:45:43.067-04:002021-09-16T16:45:43.067-04:00Appreciate this blog ppostAppreciate this blog ppostMeredith Ohttps://www.meredithowens.com/noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-2383822799874301062021-02-03T20:21:49.504-05:002021-02-03T20:21:49.504-05:00Heyy, Anonymous-
Excellent, glad to hear it. And...Heyy, Anonymous-<br /><br />Excellent, glad to hear it. And, thanks for sharing the useful adds!<br /><br />CheersMattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-85591738448509052112021-01-30T14:46:28.993-05:002021-01-30T14:46:28.993-05:00This is a great function, I use for several years ...This is a great function, I use for several years now. <br />I added the above lines which allow to identify Multi-writer, persistence and eager zeroed disks. As I deal with virtual oracle RAC cluster it is very useful:<br />MultiWriter = $hdThisDisk.backing.sharing<br />IsEagerZeroed = $hdThisDisk.backing.eagerlyscrub<br />Persistence = $hdThisDisk.backing.DiskMode<br /><br />I hope it helps<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-73521300860540231102020-09-21T13:31:49.000-04:002020-09-21T13:31:49.000-04:00Hello, @Rach-
Yes, those additional details are m...Hello, @Rach-<br /><br />Yes, those additional details are made available to ESXi (and, so, to our code here) via the HPE VIBs being installed on the given target ESXi host. Use whatever way you like to install those (offline bundle from HP, for example), and you should then get the corresponding info that is surfaced by those VIBs.<br /><br />Enjoy,<br /><br />MattMattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-71965068166407356262020-09-19T06:44:19.300-04:002020-09-19T06:44:19.300-04:00I am not getting details like ILO Firmware and sma...I am not getting details like ILO Firmware and smart aray details, do i need to install something extra.<br /><br />I get details like blow.<br />iLOFirmware HPSmartArray SystemBIOS VMHost<br /> test.tst.lab.com<br />Rachhttps://www.blogger.com/profile/14495476105740265787noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-52807685883119879312020-01-20T09:35:01.198-05:002020-01-20T09:35:01.198-05:00Greetings, Mathiau-
Thanks! Yes, while this beaut...Greetings, Mathiau-<br /><br />Thanks! Yes, while this beauty should still work a dream, it is deprecated in favor of the full-on PowerShell module for such things: the "DRSRule" PowerShell module. Luc Dekens and I wrote said PowerShell module to handle imports and much more -- managing/exporting/importing DRS Rules and Groups. See our posts at http://www.lucd.info/2015/01/22/drsrule-drs-rules-and-groups-module and http://www.vnugglets.com/2015/01/drsrule-new-powershell-module-for-drs.html.<br /><br />And, particularly for your use cases, see the Export-DrsRule and Import-DrsRule cmdlets in the module. Enjoy!MattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-11978582885110057772020-01-17T17:48:50.733-05:002020-01-17T17:48:50.733-05:00Great looking script, is this still valid in 2020?...Great looking script, is this still valid in 2020? Tried to use it on vCenter 6.7u3 and received this error:<br /><br />"Get-View : Cannot validate argument on parameter 'Id'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again."<br /><br />Desktop\DRSBackups-Working.ps1:31 char:78<br />+ ... ty Name -Id ($viewCurrClus.ConfigurationEx.Group | ?{($_ -is [VMware. ...<br /><br />Line 31 is:<br /> $oRuleInfo.VMGroupMembers = (Get-View -Property Name -Id ($viewCurrClus.ConfigurationEx.Group | ?{($_ -is [VMware.Vim.ClusterVmGroup]) -and ($_.Name -eq $oRuleInfo.VMGroupName)}).Vm | %{$_.Name}) -join ","Mathiaunoreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-91312883239426647062018-12-14T17:49:26.178-05:002018-12-14T17:49:26.178-05:00Greetings-
Thanks for the feedback, vijay. Glad ...Greetings-<br /><br />Thanks for the feedback, vijay. Glad that you found this useful like we do!MattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-43924045922244631492018-12-13T19:26:00.034-05:002018-12-13T19:26:00.034-05:00This was really helpful, thanks.This was really helpful, thanks.vijayhttps://www.blogger.com/profile/16191098282187437933noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-90003097732126281402018-11-16T18:26:01.004-05:002018-11-16T18:26:01.004-05:00Glad to hear it, @Anonymous. And, hot off the pre...Glad to hear it, @Anonymous. And, hot off the presses: we released v2.0 last evening (15 Nov 2018). It's on e the PowerShell Gallery -- get yours today!MattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-85840204111396311522018-10-01T07:50:07.851-04:002018-10-01T07:50:07.851-04:00Superb work. Used it several times now. Thank you ...Superb work. Used it several times now. Thank you very much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-63838129026543691082018-09-26T14:29:24.307-04:002018-09-26T14:29:24.307-04:00I cannot get the VMHost name to appear.
I cannot get the VMHost name to appear. <br />Anonymoushttps://www.blogger.com/profile/04335720151663042393noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-17868465781498373312018-03-15T12:00:53.558-04:002018-03-15T12:00:53.558-04:00I would like to get the LUN ID of the Data store w...I would like to get the LUN ID of the Data store where the disks presented. Both VMDK and RDM disk LUN IDAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-36226182542039374482018-03-13T10:22:51.027-04:002018-03-13T10:22:51.027-04:00Try running the cmdlets on "VMware PowerCLI (...Try running the cmdlets on "VMware PowerCLI (32 bit)" console.<br />It worked for me on PowerCLI 6.5.1.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-84776531636037784642018-01-25T12:45:15.013-05:002018-01-25T12:45:15.013-05:00Hell, Unknown-
Thanks, glad the code is useful to...Hell, Unknown-<br /><br />Thanks, glad the code is useful to you.<br /><br />And, yes, there is. You could do so with a couple of updates:<br />insert a line after line 42 like:<br />DiskMode = $hdThisDisk.Backing.DiskMode<br /><br />and then, update current line 45 (which will be line 46 after you add the line above, of course) to be:<br />$arrPropertiesToSelect = "VMName,HardDiskName,ScsiId,DeviceDisplayName,SizeGB,ScsiCanonicalName,DiskMode".Split(",")<br /><br />Further info for supported functionality: The vNugglets.Utility PowerShell module supersedes this function now (available from the PowerShell Gallery), and the source is in the repo at https://github.com/vNugglets/vNuggletsPSMod. I have opened an enhancement request Issue there (https://github.com/vNugglets/vNuggletsPSMod/issues/1) for this property add to the return objects from the Get-VNVMDiskAndRDM function. Once that function/module are updated, you will be able to do something like:<br /><br />Get-VM myVM | Get-VNVMDiskAndRDM<br /><br />...and get all of the juicy disk info that you desire. Enjoy!MattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-15208323044813743462018-01-10T11:27:42.823-05:002018-01-10T11:27:42.823-05:00Thank you so much for this script! I have been loo...Thank you so much for this script! I have been looking for a script that exports both disk AND scsi info for a very long time. Is there a way to export the disk persistence info along with what this script already accomplishes? Thank you!Unknownhttps://www.blogger.com/profile/14142189800059818646noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-43445356312476436742017-10-27T05:29:33.190-04:002017-10-27T05:29:33.190-04:00Very interesting info !Perfect just what I was lo...Very interesting info !Perfect just what I was looking for! <a href="https://www.nayashopi.in/external-hard-disk" rel="nofollow"></a>Anonymoushttps://www.blogger.com/profile/02532878645325460863noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-9198918561458936012017-10-23T20:49:57.435-04:002017-10-23T20:49:57.435-04:00Hello, Guocai Liang-
The DRSRule PowerShell modul...Hello, Guocai Liang-<br /><br />The DRSRule PowerShell module supercedes the code in this post. Luc Dekens and I wrote said PowerShell module for managing/exporting/importing DRS Rules and Groups. See our posts at http://www.lucd.info/2015/01/22/drsrule-drs-rules-and-groups-module and http://www.vnugglets.com/2015/01/drsrule-new-powershell-module-for-drs.html.<br /><br />And, if you find issues with the module, or have some feature requests, or want to contribute, check out the module at GitHub at https://github.com/PowerCLIGoodies/DRSRule.<br /><br />Cheers! MattMattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-90078340543459774502017-10-23T20:46:18.927-04:002017-10-23T20:46:18.927-04:00Hello, Owengo@qq-
Thanks! As for importing from ...Hello, Owengo@qq-<br /><br />Thanks! As for importing from exports: the way to go now would to be to use the DRSRule PowerShell module that supercedes the code in this post. Luc Dekens and I wrote said PowerShell module to handle imports and much more -- managing/exporting/importing DRS Rules and Groups. See our posts at http://www.lucd.info/2015/01/22/drsrule-drs-rules-and-groups-module and http://www.vnugglets.com/2015/01/drsrule-new-powershell-module-for-drs.html.<br /><br />And, particularly for your use cases, see the Export-DrsRule and Import-DrsRule cmdlets in the module. Enjoy!MattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-65713660883060924662017-10-19T03:12:24.369-04:002017-10-19T03:12:24.369-04:00Hi all ,I got same problem and did you fix this is...Hi all ,I got same problem and did you fix this issue ?? if fix this issue can you share me the way to me?my email address is owengo@qq.comEthan9909https://www.blogger.com/profile/04231872634839347957noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-70317373878689886982017-09-15T00:49:56.068-04:002017-09-15T00:49:56.068-04:00Good job! Could you please tell me how to import t...Good job! Could you please tell me how to import the rule from exported csv files?<br /><br />My email is owengo@qq.com.Thanks for your help.<br />Ethan9909https://www.blogger.com/profile/04231872634839347957noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-4416785372299293002017-05-31T20:46:35.973-04:002017-05-31T20:46:35.973-04:00Hello, LIO-
It's been quite a while since thi...Hello, LIO-<br /><br />It's been quite a while since this was added, but closing the loop here: Get-XIOAlert is in the module, now -- see a current release at https://github.com/mtboren/XtremIO.Utils/releases. Enjoy!<br /><br />MattMattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-89467527745556866352017-05-05T23:31:06.499-04:002017-05-05T23:31:06.499-04:00That works awesome! Appreciate all your efforts!That works awesome! Appreciate all your efforts!Spidynoreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-13640197829504178522017-05-02T17:12:33.293-04:002017-05-02T17:12:33.293-04:00Hey, Ken-
Glad that you found it to be useful. A...Hey, Ken-<br /><br />Glad that you found it to be useful. And, fast, for sure! CheersMattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-57322890307780086582017-04-17T16:32:40.868-04:002017-04-17T16:32:40.868-04:00Pretty cool and gets the job done fast!
Thanks!!!...Pretty cool and gets the job done fast!<br /><br />Thanks!!!!<br /><br />KenAnonymousnoreply@blogger.com