<?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 Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1 in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/130656#M5375</link>
    <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Hello Matthias,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Just treat the AccessTime integer value as seconds (add to UNIX epoch time) to get a DateTime value.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Since PSToolkit's API wrapper is not working reliably with SM-Labels, I more or less retrieve the raw API values I need using the bove workaround, and then handle formatting myself where needed. I did it like this (just a very simple example):&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[datetime]$origin = '1970-01-01 00:00:00'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Get-NcSnapshot -Attributes @{ AccessTime = ""; SnapmirrorLabel = ""} | % {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $_.Name; $origin.AddSeconds($_.AccessTime); $_.SnapmirrorLabel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;It's not nice, but works for me.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;HTH,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Mark&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 29 Apr 2017 11:32:49 GMT</pubDate>
    <dc:creator>mark_schuren</dc:creator>
    <dc:date>2017-04-29T11:32:49Z</dc:date>
    <item>
      <title>NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/127442#M5217</link>
      <description>&lt;P&gt;Hello all together,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we check by our customers over powershell the snapshots with snapmirrorlabels daily, weekly and so on..&lt;/P&gt;&lt;P&gt;By systems running DataOntap 8.3x the output are with snapmirrorlabels.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By DataOntap 9.1 we don´t get the snapmirrorlabels over the powershell.&lt;/P&gt;&lt;P&gt;The outputs for the snapmirrorlabels over Powershell is "unknown".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We checked the output over the ssh session and we see the correct labels but Powershell doesn´t work. We use the Toolkit Version 4.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you got any idea to solve this issue in the toolkit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:31:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/127442#M5217</guid>
      <dc:creator>Mannes</dc:creator>
      <dc:date>2025-06-04T15:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/127451#M5218</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/24383"&gt;@Mannes&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide more details? &amp;nbsp;In particular, what is the PowerShell you're using, the output you're getting, and the output you expect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 17:59:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/127451#M5218</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-01-27T17:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/127502#M5222</link>
      <description>&lt;P&gt;Hello Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using Powershell Version 5.0.10586.117 on a Windows Server 2008 R2 Standard.&lt;/P&gt;&lt;P&gt;The Powershell Toolkit is 4.3 - the latest in the download from ToolChest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We start on&amp;nbsp;two customer sites the same scripts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$Snaps = Get-NcSnapshot -Volume vmware&lt;/P&gt;&lt;P&gt;$Snaps | Format-Table -Property Volume,Name,SnapmirrorLabel -auto&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a Cluster with DataOntap 8.3.2P5 we can see the SnapMirrorLabels on the SnapShots like Daily&lt;/P&gt;&lt;P&gt;On a Cluster with DataOntap 9.1 we can´t see SnapMirrorLabels on the SnapShots. There is no entry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jürgen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 10:52:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/127502#M5222</guid>
      <dc:creator>Mannes</dc:creator>
      <dc:date>2017-01-30T10:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/127523#M5224</link>
      <description>&lt;P&gt;Doing some tests against my ONTAP 9.0 cluster it appears that the behavior of ZAPI changed at some point. &amp;nbsp;The SnapMirror labels are not returned by ZAPI by default. &amp;nbsp;If a ZAPI request is issued which explicitly requests the snapmirror-label field in the desired-attributes field then the value is returned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going to ask internally, but I believe this is a bug in ZAPI. &amp;nbsp;I'm not sure if the correct fix will need to happen in ZAPI or in the PowerShell module. &amp;nbsp;As a workaround, you can force the request for the property using this syntax:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Get-NcVol $volName | Get-NcSnapshot -Attributes @{ "snapmirrorlabel" = "" } | Select-Object Name,SnapmirrorLabel&lt;/PRE&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:17:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/127523#M5224</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-01-30T23:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/127533#M5225</link>
      <description>&lt;P&gt;Hello Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great - Thank you for this workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i hope that bug will be fixed as soon as possible, but with this workaround we have a solution at this time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 09:55:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/127533#M5225</guid>
      <dc:creator>Mannes</dc:creator>
      <dc:date>2017-01-31T09:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/129579#M5320</link>
      <description>&lt;P&gt;+1 here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I request more than only the SnapmirrorLabel attribute with Get-NcSnapshot in PSTK 4.3 in one query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$snaps = Get-NcSnapshot -Volume "testvol" -Attributes @{ "snapmirrorlabel" = "" }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but populates only the label property.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This doesn't work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$snaps = Get-NcSnapshot -Volume "testvol" -Attributes @{ "snapmirrorlabel" = ""; "created" = "" }&lt;BR /&gt;&lt;BR /&gt;Get-NcSnapshot : Der Parameter "Attributes" kann nicht gebunden werden. Objekt vom Typ "DataONTAP.C.Types.Snapshot.SnapshotInfo. "AccessTimeDT" &lt;STRONG&gt;ist eine ReadOnly-Eigenschaft&lt;/STRONG&gt;."&lt;BR /&gt;kann nicht erstellt werden.&lt;BR /&gt;In Zeile:1 Zeichen:64&lt;BR /&gt;+ ... testvol" -Attributes @@{ "snapmirrorlabel" = ""; "created" = ""}&lt;BR /&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidArgument: (:) [Get-NcSnapshot], ParameterBindingException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapshot.GetNcSnapshot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will a fix be included in PSTK 4.4 and when?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 23:19:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/129579#M5320</guid>
      <dc:creator>mark_schuren</dc:creator>
      <dc:date>2017-03-29T23:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/129606#M5321</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/3984"&gt;@mark_schuren&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Certain fields in the output object from PSTK are not returned by ZAPI, but rather created by PSTK to make life easier for us as users. &amp;nbsp;Created is one of those fields. &amp;nbsp;When PSTK receives a ZAPI response which includes the "AccessTime" property it calculates/creates and populates the properties "Created" and "AccessTimeDT" (and of course "AccessTime") in the object returned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can determine this using the Get-Member cmdlet for the snapshot object:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PS C:\Users\asull&amp;gt; Get-NcSnapshot -Template | Get-Member


   TypeName: DataONTAP.C.Types.Snapshot.SnapshotInfo

Name                                       MemberType    Definition                                                              
----                                       ----------    ----------                                                              
Created                                    AliasProperty Created = AccessTimeDT                                                  
Cumulative                                 AliasProperty Cumulative = CumulativeTotal                                            
Equals                                     Method        bool Equals(System.Object obj)                                          
GetHashCode                                Method        int GetHashCode()                                                       
GetType                                    Method        type GetType()                                                          
ToString                                   Method        string ToString()                                                       
Validate                                   Method        void Validate()                                                         
AccessTime                                 Property      System.Object AccessTime {get;set;}                                     
AccessTimeDT                               Property      System.Nullable[datetime] AccessTimeDT {get;}                           
AccessTimeSpecified                        Property      bool AccessTimeSpecified {get;set;}                                     
Busy                                       Property      System.Nullable[bool] Busy {get;set;}                                   
BusySpecified                              Property      bool BusySpecified {get;set;}                                           
Comment                                    Property      System.Object Comment {get;set;}                                        
CompressionType                            Property      System.Object CompressionType {get;set;}                                
ContainsLunClones                          Property      System.Nullable[bool] ContainsLunClones {get;set;}                      
ContainsLunClonesSpecified                 Property      bool ContainsLunClonesSpecified {get;set;}                              
CumulativePercentageOfTotalBlocks          Property      System.Object CumulativePercentageOfTotalBlocks {get;set;}              
CumulativePercentageOfTotalBlocksSpecified Property      bool CumulativePercentageOfTotalBlocksSpecified {get;set;}              
CumulativePercentageOfUsedBlocks           Property      System.Object CumulativePercentageOfUsedBlocks {get;set;}               
CumulativePercentageOfUsedBlocksSpecified  Property      bool CumulativePercentageOfUsedBlocksSpecified {get;set;}               
CumulativeTotal                            Property      System.Nullable[long] CumulativeTotal {get;}                            
CumulativeTotalBlocks                      Property      System.Object CumulativeTotalBlocks {get;set;}                          
CumulativeTotalSpecified                   Property      bool CumulativeTotalSpecified {get;set;}                                
Dependency                                 Property      System.Object Dependency {get;set;}                                     
ExpiryTime                                 Property      System.Object ExpiryTime {get;set;}                                     
ExpiryTimeDT                               Property      System.Nullable[datetime] ExpiryTimeDT {get;set;}                       
ExpiryTimeSpecified                        Property      bool ExpiryTimeSpecified {get;set;}                                     
InfiniteSnaplockExpiryTime                 Property      System.Nullable[bool] InfiniteSnaplockExpiryTime {get;set;}             
InfiniteSnaplockExpiryTimeSpecified        Property      bool InfiniteSnaplockExpiryTimeSpecified {get;set;}                     
InofileVersion                             Property      System.Object InofileVersion {get;set;}                                 
InofileVersionSpecified                    Property      bool InofileVersionSpecified {get;set;}                                 
Is7ModeSnapshot                            Property      System.Nullable[bool] Is7ModeSnapshot {get;set;}                        
Is7ModeSnapshotSpecified                   Property      bool Is7ModeSnapshotSpecified {get;set;}                                
IsConstituentSnapshot                      Property      System.Nullable[bool] IsConstituentSnapshot {get;set;}                  
IsConstituentSnapshotSpecified             Property      bool IsConstituentSnapshotSpecified {get;set;}                          
Name                                       Property      System.Object Name {get;set;}                                           
NcController                               Property      NetApp.Ontapi.Filer.C.NcController NcController {get;set;}              
PercentageOfTotalBlocks                    Property      System.Object PercentageOfTotalBlocks {get;set;}                        
PercentageOfTotalBlocksSpecified           Property      bool PercentageOfTotalBlocksSpecified {get;set;}                        
PercentageOfUsedBlocks                     Property      System.Object PercentageOfUsedBlocks {get;set;}                         
PercentageOfUsedBlocksSpecified            Property      bool PercentageOfUsedBlocksSpecified {get;set;}                         
SnaplockExpiryTime                         Property      System.Object SnaplockExpiryTime {get;set;}                             
SnaplockExpiryTimeDT                       Property      System.Nullable[datetime] SnaplockExpiryTimeDT {get;set;}               
SnaplockExpiryTimeSpecified                Property      bool SnaplockExpiryTimeSpecified {get;set;}                             
SnapmirrorLabel                            Property      System.Object SnapmirrorLabel {get;set;}                                
SnapshotInstanceUuid                       Property      System.Object SnapshotInstanceUuid {get;set;}                           
SnapshotOwnersList                         Property      DataONTAP.C.Types.Snapshot.SnapshotOwner[] SnapshotOwnersList {get;set;}
SnapshotVersionUuid                        Property      System.Object SnapshotVersionUuid {get;set;}                            
State                                      Property      System.Object State {get;set;}                                          
Total                                      Property      System.Nullable[long] Total {get;}                                      
TotalBlocks                                Property      System.Object TotalBlocks {get;set;}                                    
TotalSpecified                             Property      bool TotalSpecified {get;set;}                                          
Volume                                     Property      System.Object Volume {get;set;}                                         
VolumeProvenanceUuid                       Property      System.Object VolumeProvenanceUuid {get;set;}                           
Vserver                                    Property      System.Object Vserver {get;set;} &lt;/PRE&gt;&lt;P&gt;Notice how Created and Cumulative properties are both aliases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The easiest way to get what you're asking for is to simply specify both the SnapmirrorLabel and AccessTime properties...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Get-NcVol $volume | Get-NcSnapshot -SnapName $snapshot -Attributes @{ AccessTime = ""; SnapmirrorLabel = "" } | Format-List&lt;/PRE&gt;&lt;P&gt;You could also use template objects if desired...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$template = Get-NcSnapshot -Template
$template.AccessTime = ""
$template.SnapmirrorLabel = ""

Get-NcVol $volume | Get-NcSnapshot -SnapName $snapshot -Attributes $template | Format-List&lt;/PRE&gt;&lt;P&gt;Finally, it's imperfect, but you can attempt to specify that&amp;nbsp;all fields should be returned using this bit of script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$template = Get-NcSnapshot -Template

$template.psobject.Properties | ?{ $_.IsGettable -eq $true -and $_.IsSettable -eq $true } | %{
    $property = $_.Name 

    try {
        $template.($property) = $true
    } catch {
        $template.($property) = $null
    }
}

Get-NcVol $volume | Get-NcSnapshot -SnapName $snapshot -Attributes $template | Format-List&lt;/PRE&gt;&lt;P&gt;Note that it simply guesses as to an acceptable value for the property in order to force it to be returned by PSTK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:11:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/129606#M5321</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-03-30T13:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/129615#M5328</link>
      <description>&lt;P&gt;Thanks a lot. Works for me &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.netapp.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 14:09:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/129615#M5328</guid>
      <dc:creator>mark_schuren</dc:creator>
      <dc:date>2017-03-30T14:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/130653#M5374</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/8479"&gt;@asulliva&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;very intriguing workaround, but when I try to find the snapmirror label and the creation time of a snapshot with this ZAPI access method&amp;nbsp;&amp;nbsp;I either get an unreadable integer for AccessTime or an "Cannot bind parameter" for AccessTimeDT&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS:&amp;gt; (get-ncsnapshot &amp;lt;vol&amp;gt; -SnapName&amp;nbsp;&amp;lt;snap&amp;gt; -Attributes @{ "AccessTime"="";"snapmirrorlabel"=""}).AccessTime&lt;BR /&gt;1493143910&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PS:&amp;gt; (get-ncsnapshot &amp;lt;vol&amp;gt; -SnapName &amp;lt;snap&amp;gt; -Attributes @{ "AccessTimeDT"="";"snapmirrorlabel"=""}).AccessTimeDT&lt;/P&gt;&lt;P&gt;Get-NcSnapshot : Cannot bind parameter 'Attributes'. Cannot create object of type "DataONTAP.C.Types.Snapshot.SnapshotInfo". "AccessTimeDT" is a ReadOnly&lt;/P&gt;&lt;P&gt;property.&lt;BR /&gt;At line:1 char:116&lt;BR /&gt;+ ... up -Attributes @{ "AccessTimeDT"="";"snapmirrorlabel"=""}).AccessTimeDT&lt;BR /&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidArgument: (:) [Get-NcSnapshot], ParameterBindingException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapshot.GetNcSnapshot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another possibility to get both values in one API-call?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: I would also prefer a DataOntap Powershell Module with a bugfix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 08:29:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/130653#M5374</guid>
      <dc:creator>dietermann</dc:creator>
      <dc:date>2017-04-29T08:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/130656#M5375</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Hello Matthias,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Just treat the AccessTime integer value as seconds (add to UNIX epoch time) to get a DateTime value.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Since PSToolkit's API wrapper is not working reliably with SM-Labels, I more or less retrieve the raw API values I need using the bove workaround, and then handle formatting myself where needed. I did it like this (just a very simple example):&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[datetime]$origin = '1970-01-01 00:00:00'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Get-NcSnapshot -Attributes @{ AccessTime = ""; SnapmirrorLabel = ""} | % {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $_.Name; $origin.AddSeconds($_.AccessTime); $_.SnapmirrorLabel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;It's not nice, but works for me.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;HTH,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Mark&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 11:32:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/130656#M5375</guid>
      <dc:creator>mark_schuren</dc:creator>
      <dc:date>2017-04-29T11:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/130674#M5376</link>
      <description>&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for the explanation. I didnt recognize the UNIX format. Yor formula is helpful indeed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KInd regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 06:06:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/130674#M5376</guid>
      <dc:creator>dietermann</dc:creator>
      <dc:date>2017-05-02T06:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/134217#M5473</link>
      <description>&lt;P&gt;I've run the api via the zexplore tool in the nmsdk version 5.7&amp;nbsp;and api version&amp;nbsp;1.110. The labels are being correctly returned - I would say its actually an issue in the toolskits dll wrapping the api calls causing the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also 4.30 isnt the latest - has any one tried with v4.4 of the toolkit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 08:35:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/134217#M5473</guid>
      <dc:creator>NADRS</dc:creator>
      <dc:date>2017-09-05T08:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: NetApp_PowerShell_Toolkit_4.3.0.msi can´t list SnapMirrorLabels in Ontap 9.1</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/134220#M5474</link>
      <description>&lt;P&gt;Now tested against 4.2, 4.3 and 4.4 of the powershell toolkit and the bug&amp;nbsp;exists in all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Directly invoking the api call via Invoke-NcSystemApi does work though and is an alternative method to that in the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 09:39:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-3-0-msi-can-t-list-SnapMirrorLabels-in-Ontap-9-1/m-p/134220#M5474</guid>
      <dc:creator>NADRS</dc:creator>
      <dc:date>2017-09-05T09:39:35Z</dc:date>
    </item>
  </channel>
</rss>

