Using PowerCLI to get a Datastore from an NAA ID
2017-11-13 16:54
627 查看
This is just a quickie (mainly for my own notes in the future): if you ever need an easy way to figure out which datastore is being referenced by a given naa number (like if you're troubleshooting datastore access issues and the logs all reference that ID type), you can use this command to search it out:
get-datastore | ? {$_.ExtensionData.Info.Vmfs.Extent.Diskname -match "NAA NUMBER"}
get-datastore | ? {$_.ExtensionData.Info.Vmfs.Extent.Diskname -match "NAA NUMBER"}
相关文章推荐
- Dynamics AX 2009: Ad hoc Analysis using Excel 2007 to get data from an AX OLAP Cube
- How To Generate An XML File As A Target Datastore Using ODI In An Integration Interface ? [ID 454268
- How to get an X11 Window from a Process ID?
- How to copy a datafile from ASM to a file system not using RMAN (Doc ID 428893.1)
- Moving Data from HDFS to Hive Using an External Table
- Using Timer to get history values from EDNA database, an error is prompted in the page : "Sys.WebForms.PageRequestManagerTimeout
- Using PowerCLI to get the IP address of a VM
- Unable to Drop a Datafile From the Tablespace Using Alter Tablespace Command (Doc ID 1050261.1)
- using JS to control two select(html),the data can be loaded from database and XML,and show in the select
- Data Guard Physical Standby 11.2 RAC Primary to RAC Standby using a second network (Doc ID 1349977.1
- platform builder was unable to read the device settings from the datastore问题解决
- How to Properly Remove Datastore or LUN from ESXi 5.x hosts
- How to call an Oracle Stored Procedure that returns one or more REF CURSORS, using ADO from C++ How
- Unable to read additional data from client sessionid 0x0, likely client has closed socket
- "Unable to get image data from canvas because the canvas has been tainted by cross-origin data"问题产生原因及解决办法
- [Project] Simulate HTTP Post Request to obtain data from Web Page by using Python Scrapy Framework
- Provide an Alternative View to Data Using Splitter Window
- Root-NFS: Unable to get nfsd port number from server, using default
- AngularJS: get JSON data from Service to Controller
- HOW TO: Transfer Data to an Excel Workbook by Using Visual Basic .NET