http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/
PS1 for Datastore management
- http://blogs.vmware.com/vsphere/2012/01/automating-datastore-storage-device-detachment-in-vsphere-5.html
- http://vmwaregirl.blogspot.com/2012/03/powercli-get-datastoremountinfo.html
- List all the SCSI LUN's by the LUNID
- get-vmhost -state connected | Get-ScsiLun | select-object CapacityMB,RuntimeName,CanonicalName|ft -autosize|findstr "L123
- http://snipplr.com/view/48048
- Create a new VMFS datastore from LUN number (
New-DatastoreByLun )
Auto Load Powershell script on run.
set-executionpolicy bypass
Profile.ps1 under
%UserProfile%\Documents\WindowsPowerShell
Microsoft.PowerShell_profile.ps1
(for basic shell)
Microsoft.PowerShellISE_profile.ps1
(for the GUI)
RDM REPORT - Datastore, RDM, LUN Visibility on Hosts (Node Visibility) output xls
No comments:
Post a Comment