Get the details of storage card using powershell
Hello
I'm looking for ways to get complete information on storage on my ESX box adapters. I fell on below script below, but it gives the target iqn details where I need host details iqn, is it possible to get this information?
$esxImpl = get-VMHost-name
$storImpl = get-VMHostStorage - VMHost $esxImpl
$stor = get-view $storImpl.ID
foreach ($adapter in $stor. StorageDeviceInfo.ScsiTopology.Adapter) {}
Write-Host $adapter. Adapter
foreach ($target in $adapter.) Target) {}
Write-Host $target. Transport.IScsiName
}
}
Thank you
Of course, this info is in the same object, different ownership.
Try this adapted script. Should give you a better overview of your iSCSI topology.
$stor = get-view (Get-VMHostStorage -VMHost (Get-VMHost -Name)).ID $stor.StorageDeviceInfo.HostBusAdapter | where {$_.GetType().Name -eq "HostInternetScsiHba"} | %{ Write-Host "Device" $_.Device "iSCSI" $_.IScsiName $device = $_.Device $stor.StorageDeviceInfo.ScsiTopology.Adapter | where {$_.Adapter -like ("*" + $device)} | %{ $_.Target | %{ Write-Host "`tTarget" $_.Target Write-Host "`tIScsiName" $_.Transport.IScsiName } } }
Tags: VMware
Similar Questions
-
How to get the details of VM settings using cli power?
Hello
I went through the link http://communities.vmware.com/thread/325036?tstart=0 which has been very helpful. However I want to know is there anyway I can get the details of the VM?
I want Hardware, tab Option and details tab resources of the virtual machine that we see in the VM-> change the settings.
My main concern is to get the details of the memory of the virtual machine. There are several virtual machines in my infrastructure on which memory is limited to less amout then what is given to the virtual machine.
As for example in one of the virtual machine, we had problem where after troubleshooting, I discovered the memory assigned on Hardware tab is 16GB while the resource tab it is limited to 8 GB, which caused the driver lock memory to have other tools to use.
Concerning
Do you get the version number?
-
Impossible to update the details of credit card, get the PMT_000008 error message
Impossible to update the details of credit card, get the PMT_000008 error message all the time
Is this another card or the same card but with slightly different details? (As the expiration date).
Manage your Adobe Creative Cloud membership (Use the link 'Contact us' at the bottom, bottom right.)
-
Can write us "PowerCLI Script" to get the details of card RAID HP (Firmware & Driver)
For example: native ESX command below shows desired output for me.
But we needed equality PowerCLI ESX command below script
# cat/proc/driver/cciss/cciss0
cciss0: HP Smart Array P400i controller
Board ID: 0x3235103c
Firmware version: 7.22# cat/proc/driver/hpsa/hpsa0
hpsa0: HP Smart Array P410i controller
Board ID: 0x3245103c
Firmware version: 5,70
Driver version: HP HPSA driver (v 5.0.0 - 17vmw)
The extracted following PowerCLI you will get server and type of controller, firmware version and the hpsa/Smart Storage Array controllers driver version based of:
Get-VMhost | Sort | Select Name, Model,@{N='Controller Type'; E={(Get-VMHostHba -VMHost $_ | ? {$_.Model -imatch '.*(hpsa|smart).*'}).Model}},@{N='Controller Firmware'; E={($_.ExtensionData.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo | ? {$_.Name -like '*hpsa*firmware*'}).Name}},@{N='hpsa Driver Version'; E={($_.ExtensionData.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo | ? {$_.Name -like '*scsi-hpsa*'}).Name}} | Format-Table -Autosize
The sample output:
Name Model Controller Type Controller Firmware hpsa Driver Version---- ----- --------------- ------------------- -------------------esxihost1022.local ProLiant DL380 G6 Smart Array P410i HP Smart Array Controller HPSA1 Firmware 6.40 Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1023.local ProLiant DL380 G6 Smart Array P410i HP Smart Array Controller HPSA1 Firmware 6.40 Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1024.local ProLiant DL380 G6 Smart Array P410i HP Smart Array Controller HPSA1 Firmware 6.40 Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1033.local ProLiant DL360p Gen8 Smart Array P420i HP Smart Array Controller HPSA1 Firmware 5.42 Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1034.local ProLiant DL360p Gen8 Smart Array P420i HP Smart Array Controller HPSA1 Firmware 5.42 Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1041.local ProLiant DL380 G5 Smart Array P400 HP Smart Array Controller HPSA1 Firmware 7.24 VMware scsi-hpsa 5.0.0-17vmw.500.0.0.469512 2011-08-19 01:58:59.000esxihost1042.local ProLiant DL380 G5 Smart Array P400 HP Smart Array Controller HPSA1 Firmware 7.24 VMware scsi-hpsa 5.0.0-17vmw.500.0.0.469512 2011-08-19 01:58:59.000esxihost1160.local ProLiant BL460c Gen8 Smart Array P220i HP Smart Array Controller HPSA1 Firmware 5.22 Hewlett-Packard scsi-hpsa 5.0.0-40OEM.500.0.0.472560 2012-08-24 21:04:51.000esxihost1161.local ProLiant BL460c Gen8 Smart Array P220i HP Smart Array Controller HPSA1 Firmware 5.22 Hewlett-Packard scsi-hpsa 5.0.0-40OEM.500.0.0.472560 2012-08-24 21:04:51.000
-
I bought Photoshop elements & elements of Prime Minister to Best Buy 2 years. Finally opened and I tried to get the serial number online by using the identity card, but said website code is not valid. Called Best Buy, they said that adobe should have canceled activation because it has not been installed in a timely. How can I get a serial number for installation?
jotison64 wrote:
I bought Photoshop elements & first items at Best Buy 2 years. Finally opened and I tried to get the serial number online by using the identity card, but said website code is not valid. Called Best Buy, they said that adobe should have canceled activation because it has not been installed in a timely. How can I get a serial number for installation?
Work your way through this document in the end, step by step, and finally try to start a chat session. I hope that Adobe will straighten this out for you.
-
My user folder displays the data of 30 GB. Actual data are only 2 GB. I want to wipe my drive C of hidden data. How can I get the details of 30 GB of data shown in the properties of the folder.
Hello
This free program allows you to see what is taking place.
http://www.Jam-software.com/treesize_free/
Here's how to understand Treesize Screenshots:
http://www.Jam-software.com/treesize_free/screenshots.shtml
____________________________________
Also check how much space system restore uses:
http://Windows.Microsoft.com/en-us/Windows7/how-much-disk-space-does-System-Restore-require
_____________________________________
You can clean your hard drive using these two methods.
"Delete files using Disk Cleanup"
Using the free CCleaner program:
http://www.Piriform.com/CCleaner
In NO case use the registry cleaning Option in CCleaner
_____________________________________
Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:
http://www.Malwarebytes.org/products/malwarebytes_free
And Norton Backup, if you are using Norton, can do strange things with filling of hard drive space.
See you soon.
-
How can we get the details of the traffic for the spaces for example, users access report by space (for all users), DB tables can be used to get information, such as for example: users who have logged in - never
You can use analytics. WebCenter Analytics comes with a number of events out-of-the-box for which it brings together measures which are very useful.
You can check in the WebCenter Analytics database schema. WebCenter Analytics Dashboards are present in the scheme of ACTIVITIES and are modeled in the form of a star schema.
The schema includes 2 types of tables. FACTS analytical tables are used to store instances of specific events. For each event, a specific FACT table is present, for example for page views, the views of space, connections and so on. These tables contain a timestamp for the moment, that the event is occurred and integer ID these descriptive reference data stored in DIMENSION tables.
DIMENSION tables contain descriptive information about the entities associated with events. Size examples are pages, applications, groupspaces, users and so on.
See the details of the table all the under http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_app_aschema.htm#JPSDG10767
If you want to custom event.that track, as you can get. see this blog entry
Quobell technology - portal WebCenter: WebCenter Analytics: define and save custom events
-
Original title: calendar
How can I get the details on my agenda which is on my iPhone and iPad in the calendar on the windows start page?
It depends on where your calendar is really stored. He usually stored in your e-mail account and connected to it. That's how Google Calendar, Gmail or Microsoft Calendar + Outlook.com (formerly Hotmail) function as business/school Exchange email accounts work.
So long story short, as long as your phone and your calendar app are both set to synchronize with the same server (so the same email account), then they will show the same calendar as events.
If your calendar is not stored in a service that can interface with your phone and the calendar app, you will need to choose a new calendar service. For example if you use only iCloud, you should know that Apple does not your calendar to display the application calendar. Google blocks of even Windows users have the full calendar function.
So if you need it, my choice is Outlook.com (or an Exchange of Business/School/University account). If you go with Outlook.com, you can use it to store your calendar and keep your iPhone calendar in perfect sync and there is no need to change your email address or anything deep like that. In fact, you can connect to Outlook using the same account that you used to ask this question.
-
I bought a new 5s of Iphone of Snapdeal in India, but when I created an account in the App store and next step his asking me to specify the details of credit card and the iTunes gift cards and codes I don't have an option to select none I just an options to select Master card, Visa and Amex. So what should I do to continue without entering a those sections.
This step must be completed before you can go to the next step in creating an App Store account. It is only for the purpose of verification and just incase accidentally make you an in - app purchase.
You cannot create an App Store account without card number.
I hope this helps.
AppleMan
-
Is it possible to get the details of the file (for example the subject and comments) off the screen and to an Excel file or a text file without having to retype this information
* original title - file details *.
Hello
Could you explain what is exactly? What do you mean by off the screen?
According to my way of thinking, you want to export the file details of all your files on your HARD drive to an excel file or a txt file. If I'm right in this case, it is not possible to export the details of each & every file in the excel sheet.
-
Where can I get the software or driver to use my xbox live vision webcam?
Original title: xbox live webcam
where can I get the software or driver to use my xbox live vision webcam on my laptop
Hello
What is the exact version of Xbox Live vision webcam?
If you use a Xbox 360 Live Vision Webcam, then after connecting the webcam to the laptop, you can try to run the Windows updates and look for the optional updates for the installation of the drivers/software for the webcam.
For more information, see the article:
Automatically get recommended drivers and updates for your hardware
You can also get in contact with the Xbox support for help.
For more information, see the article:
Set up and use the Xbox LIVE Vision camera
Hope the helps of information.
Let us know if you need help with Windows related issues. We will be happy to help you.
-
How to get the frame number current timeline using jsx?
How to get the frame number current timeline using jsx?
Thanks for the link!
Clarification: I was looking for the current image on the timeline of the video. OP he mentions that he had found how to get that so I searched a bit more and found this thread: Re: can I inpoint in read/write and out-point of the clips in a group of video with scripts? They have the following functions, I have not tried yet, but it seems like it should work.
function getCurrentFrame() {}
try {}
Var ref = new ActionReference();
ref.putProperty (charIDToTypeID ('Rprp'), stringIDToTypeID ('currentFrame'));
ref.putClass (stringIDToTypeID ('timeline'));
var / / desc = new ActionDescriptor();
desc.putReference (charIDToTypeID ('null'), ref);
var TC = executeAction (charIDToTypeID ('getd'), desc, DialogModes.NO);
Return TC.getInteger (stringIDToTypeID ('currentFrame'));
} catch (e) {return null ;}
};
-
Is it possible to get the appid, pageid and sessionid using javascript?
Hello world
I need to get the appid, pageid, and sessionid using javascript, is it possible to do this?
Hello
If your JavaScript is in file:
$v ("pFlowId") = application id
$v ("pFlowStepId") = the page id
$v ("pInstance") = session id
Kind regards
Jari
-
I just bought a year of CC version... When I login my account, the payment is visible, I downloaded photoshop and I wasn't able to get the work permit im still using a free period aplications. It is said that no payment or upated is the registry under this ID
Hello
Please check the help below document:
Applications creative Cloud back in test mode after an update until 2015 for CC
Kind regards
Sheena
-
I bought the Hallmark Card Studio 2010, I am operating Vista 64 bit the message I get is that Hallmark Card Studio 2010 has stopped working. A problem casued the program to stop working correctly. Windows will close and informs you if a solution is available. I also downloaded the Windows 7 Upgrade Advisor and I get the same message with it. It will not work. All of the suggestions. Thank you. Carol M.
Hello
- Have you tried the suggestions of Imran M in other post?
You can view these methods:
Method 1:
Temporarily disable UAC and check if the problem persists.
1. open Control Panel.
2. under the user account and family settings click on the "add user account / remove."
3. click on one of the user accounts, for example, you can use the guest account.
4. in the user account, click on the link "go to the main page of the user account.
5. under "Make changes to your user account", click on the link "change security settings".
6. in him "turn User Account Control (UAC) to make your computer more secure" click to deselect the "use User Account Control (UAC) to help protect your computer. Click the Ok button.
7. you will be asked to restart your computer. Do when you're ready.Warning: User Account Control (UAC) can help you to prevent your computer from unauthorized changes. It works by asking permission when a task requires administrative rights, such as installing software or changing settings affecting other users. We do not recommend disable user account control. If you turn it off, you must reactivate as soon as possible.
Method 2:I recommend the clean boot and try to run the program.Configuration of your system in a clean boot state helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.
See the following article in the Microsoft KB for more information on how to solve a problem by performing a clean boot in Windows Vista or Windows 7:
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.
Maybe you are looking for
-
How do I close Firefox on Android?
Jellybean Android 4.2.2 on a Samsung Galaxy tab 3 SM-T310 with Firefox 29.0.1.How do I close Firefox when finished? I know there is an add-on for it, but want as less as possible unnecessary things. In addition, he takes a default action normal for a
-
Batterys that can be used with Qosmio F50?
Batterys that can be used with the Qosmio F50 (exept oem 3640u-1brs)?
-
My Apple Watch displays date yesterday instead of today's date. How can I fix it?
My Apple Watch displays date yesterday instead of today's date. How can I fix it?
-
Value of cluster lost when you leave the structure of the case
Hi all I'm having a problem with a particular VI I'm working. (FYI it's in Labview 8.0) The VI is set to run a current source, voltmeter and thermometer, then recording and graph the data in various ways that can be selected by the user. Everything s
-
Update for Windows xp (kb898461)
I tried to install the update for windows xp (kb898461) but whenever I have download the process will stop and cancel the instalation.I tried different options but no one not working, can anyone help me please? What should I do?