Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: ConvertFrom-SerializedString


NAME
ConvertFrom-SerializedString

SYNOPSIS
Convert a serialized .NET object back into a native one.

SYNTAX
ConvertFrom-SerializedString [-Data] <String> [<CommonParameters>]


DESCRIPTION
Convert a serialized .NET object back into a native one.

This cmdlet is the companion of ConvertTo-SerializedString.


PARAMETERS
-Data <String>
The string that was generated by ConvertTo-SerializedString.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
System.Object


NOTES


Category: toolkit

-------------- Example 1 --------------

C:\PS>$str = Connect-NaController dunn | ConvertTo-SerializedString
Get-NaSystemVersion -Controller (ConvertFrom-SerializedString $str)


Reconstitute a controller instance from a serialized string and use it subse
quent Toolkit cmdlet invocations.


NetApp Release 7.3.5: Mon Nov 22 21:32:44 PST 2010



RELATED LINKS
ConvertTo-SerializedString







 Data ONTAP® PowerShell Toolkit