<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Powershell - LUN serial number in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-LUN-serial-number/m-p/142832#M5852</link>
    <description>&lt;P&gt;i found several old articals (6yr).&lt;/P&gt;
&lt;P&gt;What they outline does in fact still work, here is a tiny bit of additional info and a newer date stamp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the gist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;get-ncLun does in fact get the lun information&lt;/P&gt;
&lt;P&gt;the information it gives you is helpful, but incomplete to a fault.&lt;/P&gt;
&lt;P&gt;you can get a lot of extra detail out of the object the get-ncLun returns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$monkey = get-ncLun /vol/*somethingYouWant*&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$monkey.serialNumber&lt;/STRONG&gt;&lt;BR /&gt;80Abu]JzGvAB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a list of properties you can get out of the object.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$monkey | get-member&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt; TypeName: DataONTAP.C.Types.Lun.LunInfo&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Name MemberType Definition &lt;BR /&gt;---- ---------- ---------- &lt;BR /&gt;Protocol AliasProperty Protocol = MultiProtocolType &lt;BR /&gt;Equals Method bool Equals(System.Object obj) &lt;BR /&gt;GetHashCode Method int GetHashCode() &lt;BR /&gt;GetType Method type GetType() &lt;BR /&gt;ToString Method string ToString() &lt;BR /&gt;Validate Method void Validate() &lt;BR /&gt;Alignment Property System.Object Alignment {get;set;} &lt;BR /&gt;Application Property System.Object Application {get;set;} &lt;BR /&gt;ApplicationUuid Property System.Object ApplicationUuid {get;set;} &lt;BR /&gt;BackingSnapshot Property System.Object BackingSnapshot {get;set;} &lt;BR /&gt;BlockSize Property System.Object BlockSize {get;set;} &lt;BR /&gt;BlockSizeSpecified Property bool BlockSizeSpecified {get;set;} &lt;BR /&gt;Class Property System.Object Class {get;set;} &lt;BR /&gt;CloneBackingSnapshot Property System.Object CloneBackingSnapshot {get;set;} &lt;BR /&gt;Comment Property System.Object Comment {get;set;} &lt;BR /&gt;CreationTimestamp Property System.Object CreationTimestamp {get;set;} &lt;BR /&gt;CreationTimestampDT Property System.Nullable[datetime] CreationTimestampDT {get;} &lt;BR /&gt;CreationTimestampSpecified Property bool CreationTimestampSpecified {get;set;} &lt;BR /&gt;DeviceBinaryId Property System.Object DeviceBinaryId {get;set;} &lt;BR /&gt;DeviceId Property System.Object DeviceId {get;set;} &lt;BR /&gt;DeviceIdSpecified Property bool DeviceIdSpecified {get;set;} &lt;BR /&gt;DeviceTextId Property System.Object DeviceTextId {get;set;} &lt;BR /&gt;IsClone Property System.Nullable[bool] IsClone {get;set;} &lt;BR /&gt;IsCloneAutodeleteEnabled Property System.Nullable[bool] IsCloneAutodeleteEnabled {get;set;} &lt;BR /&gt;IsCloneAutodeleteEnabledSpecified Property bool IsCloneAutodeleteEnabledSpecified {get;set;} &lt;BR /&gt;IsCloneSpecified Property bool IsCloneSpecified {get;set;} &lt;BR /&gt;IsInconsistentImport Property System.Nullable[bool] IsInconsistentImport {get;set;} &lt;BR /&gt;IsInconsistentImportSpecified Property bool IsInconsistentImportSpecified {get;set;} &lt;BR /&gt;IsRestoreInaccessible Property System.Nullable[bool] IsRestoreInaccessible {get;set;} &lt;BR /&gt;IsRestoreInaccessibleSpecified Property bool IsRestoreInaccessibleSpecified {get;set;} &lt;BR /&gt;IsSpaceAllocEnabled Property System.Nullable[bool] IsSpaceAllocEnabled {get;set;} &lt;BR /&gt;IsSpaceAllocEnabledSpecified Property bool IsSpaceAllocEnabledSpecified {get;set;} &lt;BR /&gt;IsSpaceReservationEnabled Property System.Nullable[bool] IsSpaceReservationEnabled {get;set;} &lt;BR /&gt;IsSpaceReservationEnabledSpecified Property bool IsSpaceReservationEnabledSpecified {get;set;} &lt;BR /&gt;Mapped Property System.Nullable[bool] Mapped {get;set;} &lt;BR /&gt;MappedSpecified Property bool MappedSpecified {get;set;} &lt;BR /&gt;MultiprotocolType Property System.Object MultiprotocolType {get;set;} &lt;BR /&gt;NcController Property NetApp.Ontapi.Filer.C.NcController NcController {get;set;} &lt;BR /&gt;Node Property System.Object Node {get;set;} &lt;BR /&gt;Online Property System.Nullable[bool] Online {get;set;} &lt;BR /&gt;OnlineSpecified Property bool OnlineSpecified {get;set;} &lt;BR /&gt;Path Property System.Object Path {get;set;} &lt;BR /&gt;PrefixSize Property System.Object PrefixSize {get;set;} &lt;BR /&gt;PrefixSizeSpecified Property bool PrefixSizeSpecified {get;set;} &lt;BR /&gt;QosAdaptivePolicyGroup Property System.Object QosAdaptivePolicyGroup {get;set;} &lt;BR /&gt;QosPolicyGroup Property System.Object QosPolicyGroup {get;set;} &lt;BR /&gt;Qtree Property System.Object Qtree {get;set;} &lt;BR /&gt;ReadOnly Property System.Nullable[bool] ReadOnly {get;set;} &lt;BR /&gt;ReadOnlySpecified Property bool ReadOnlySpecified {get;set;} &lt;BR /&gt;Serial7Mode Property System.Object Serial7Mode {get;set;} &lt;BR /&gt;SerialNumber Property System.Object SerialNumber {get;set;} &lt;BR /&gt;ShareState Property System.Object ShareState {get;set;} &lt;BR /&gt;Size Property System.Object Size {get;set;} &lt;BR /&gt;SizeSpecified Property bool SizeSpecified {get;set;} &lt;BR /&gt;SizeUsed Property System.Object SizeUsed {get;set;} &lt;BR /&gt;SizeUsedSpecified Property bool SizeUsedSpecified {get;set;} &lt;BR /&gt;Staging Property System.Nullable[bool] Staging {get;set;} &lt;BR /&gt;StagingSpecified Property bool StagingSpecified {get;set;} &lt;BR /&gt;State Property System.Object State {get;set;} &lt;BR /&gt;SuffixSize Property System.Object SuffixSize {get;set;} &lt;BR /&gt;SuffixSizeSpecified Property bool SuffixSizeSpecified {get;set;} &lt;BR /&gt;Uuid Property System.Object Uuid {get;set;} &lt;BR /&gt;Volume Property System.Object Volume {get;set;} &lt;BR /&gt;Vserver Property System.Object Vserver {get;set;} &lt;BR /&gt;Thin ScriptProperty System.Object Thin {get=if (!($this.IsSpaceReservationEnabledSpecified)) { $null }...&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:18:05 GMT</pubDate>
    <dc:creator>SuperMegaGreat</dc:creator>
    <dc:date>2025-06-04T13:18:05Z</dc:date>
    <item>
      <title>Powershell - LUN serial number</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-LUN-serial-number/m-p/142832#M5852</link>
      <description>&lt;P&gt;i found several old articals (6yr).&lt;/P&gt;
&lt;P&gt;What they outline does in fact still work, here is a tiny bit of additional info and a newer date stamp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the gist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;get-ncLun does in fact get the lun information&lt;/P&gt;
&lt;P&gt;the information it gives you is helpful, but incomplete to a fault.&lt;/P&gt;
&lt;P&gt;you can get a lot of extra detail out of the object the get-ncLun returns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$monkey = get-ncLun /vol/*somethingYouWant*&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$monkey.serialNumber&lt;/STRONG&gt;&lt;BR /&gt;80Abu]JzGvAB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a list of properties you can get out of the object.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;$monkey | get-member&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt; TypeName: DataONTAP.C.Types.Lun.LunInfo&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;Name MemberType Definition &lt;BR /&gt;---- ---------- ---------- &lt;BR /&gt;Protocol AliasProperty Protocol = MultiProtocolType &lt;BR /&gt;Equals Method bool Equals(System.Object obj) &lt;BR /&gt;GetHashCode Method int GetHashCode() &lt;BR /&gt;GetType Method type GetType() &lt;BR /&gt;ToString Method string ToString() &lt;BR /&gt;Validate Method void Validate() &lt;BR /&gt;Alignment Property System.Object Alignment {get;set;} &lt;BR /&gt;Application Property System.Object Application {get;set;} &lt;BR /&gt;ApplicationUuid Property System.Object ApplicationUuid {get;set;} &lt;BR /&gt;BackingSnapshot Property System.Object BackingSnapshot {get;set;} &lt;BR /&gt;BlockSize Property System.Object BlockSize {get;set;} &lt;BR /&gt;BlockSizeSpecified Property bool BlockSizeSpecified {get;set;} &lt;BR /&gt;Class Property System.Object Class {get;set;} &lt;BR /&gt;CloneBackingSnapshot Property System.Object CloneBackingSnapshot {get;set;} &lt;BR /&gt;Comment Property System.Object Comment {get;set;} &lt;BR /&gt;CreationTimestamp Property System.Object CreationTimestamp {get;set;} &lt;BR /&gt;CreationTimestampDT Property System.Nullable[datetime] CreationTimestampDT {get;} &lt;BR /&gt;CreationTimestampSpecified Property bool CreationTimestampSpecified {get;set;} &lt;BR /&gt;DeviceBinaryId Property System.Object DeviceBinaryId {get;set;} &lt;BR /&gt;DeviceId Property System.Object DeviceId {get;set;} &lt;BR /&gt;DeviceIdSpecified Property bool DeviceIdSpecified {get;set;} &lt;BR /&gt;DeviceTextId Property System.Object DeviceTextId {get;set;} &lt;BR /&gt;IsClone Property System.Nullable[bool] IsClone {get;set;} &lt;BR /&gt;IsCloneAutodeleteEnabled Property System.Nullable[bool] IsCloneAutodeleteEnabled {get;set;} &lt;BR /&gt;IsCloneAutodeleteEnabledSpecified Property bool IsCloneAutodeleteEnabledSpecified {get;set;} &lt;BR /&gt;IsCloneSpecified Property bool IsCloneSpecified {get;set;} &lt;BR /&gt;IsInconsistentImport Property System.Nullable[bool] IsInconsistentImport {get;set;} &lt;BR /&gt;IsInconsistentImportSpecified Property bool IsInconsistentImportSpecified {get;set;} &lt;BR /&gt;IsRestoreInaccessible Property System.Nullable[bool] IsRestoreInaccessible {get;set;} &lt;BR /&gt;IsRestoreInaccessibleSpecified Property bool IsRestoreInaccessibleSpecified {get;set;} &lt;BR /&gt;IsSpaceAllocEnabled Property System.Nullable[bool] IsSpaceAllocEnabled {get;set;} &lt;BR /&gt;IsSpaceAllocEnabledSpecified Property bool IsSpaceAllocEnabledSpecified {get;set;} &lt;BR /&gt;IsSpaceReservationEnabled Property System.Nullable[bool] IsSpaceReservationEnabled {get;set;} &lt;BR /&gt;IsSpaceReservationEnabledSpecified Property bool IsSpaceReservationEnabledSpecified {get;set;} &lt;BR /&gt;Mapped Property System.Nullable[bool] Mapped {get;set;} &lt;BR /&gt;MappedSpecified Property bool MappedSpecified {get;set;} &lt;BR /&gt;MultiprotocolType Property System.Object MultiprotocolType {get;set;} &lt;BR /&gt;NcController Property NetApp.Ontapi.Filer.C.NcController NcController {get;set;} &lt;BR /&gt;Node Property System.Object Node {get;set;} &lt;BR /&gt;Online Property System.Nullable[bool] Online {get;set;} &lt;BR /&gt;OnlineSpecified Property bool OnlineSpecified {get;set;} &lt;BR /&gt;Path Property System.Object Path {get;set;} &lt;BR /&gt;PrefixSize Property System.Object PrefixSize {get;set;} &lt;BR /&gt;PrefixSizeSpecified Property bool PrefixSizeSpecified {get;set;} &lt;BR /&gt;QosAdaptivePolicyGroup Property System.Object QosAdaptivePolicyGroup {get;set;} &lt;BR /&gt;QosPolicyGroup Property System.Object QosPolicyGroup {get;set;} &lt;BR /&gt;Qtree Property System.Object Qtree {get;set;} &lt;BR /&gt;ReadOnly Property System.Nullable[bool] ReadOnly {get;set;} &lt;BR /&gt;ReadOnlySpecified Property bool ReadOnlySpecified {get;set;} &lt;BR /&gt;Serial7Mode Property System.Object Serial7Mode {get;set;} &lt;BR /&gt;SerialNumber Property System.Object SerialNumber {get;set;} &lt;BR /&gt;ShareState Property System.Object ShareState {get;set;} &lt;BR /&gt;Size Property System.Object Size {get;set;} &lt;BR /&gt;SizeSpecified Property bool SizeSpecified {get;set;} &lt;BR /&gt;SizeUsed Property System.Object SizeUsed {get;set;} &lt;BR /&gt;SizeUsedSpecified Property bool SizeUsedSpecified {get;set;} &lt;BR /&gt;Staging Property System.Nullable[bool] Staging {get;set;} &lt;BR /&gt;StagingSpecified Property bool StagingSpecified {get;set;} &lt;BR /&gt;State Property System.Object State {get;set;} &lt;BR /&gt;SuffixSize Property System.Object SuffixSize {get;set;} &lt;BR /&gt;SuffixSizeSpecified Property bool SuffixSizeSpecified {get;set;} &lt;BR /&gt;Uuid Property System.Object Uuid {get;set;} &lt;BR /&gt;Volume Property System.Object Volume {get;set;} &lt;BR /&gt;Vserver Property System.Object Vserver {get;set;} &lt;BR /&gt;Thin ScriptProperty System.Object Thin {get=if (!($this.IsSpaceReservationEnabledSpecified)) { $null }...&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:18:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-LUN-serial-number/m-p/142832#M5852</guid>
      <dc:creator>SuperMegaGreat</dc:creator>
      <dc:date>2025-06-04T13:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell - LUN serial number</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-LUN-serial-number/m-p/142841#M5853</link>
      <description>&lt;P&gt;Hi. can you check if the question (if there was) has been disappeard/truncated from your post?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 23:36:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-LUN-serial-number/m-p/142841#M5853</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2018-09-20T23:36:07Z</dc:date>
    </item>
  </channel>
</rss>

