|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: ConvertTo-SerializedString
NAME
ConvertTo-SerializedString
SYNOPSIS
Convert any .NET object that is marked as Serializable to a Base64-encoded s
tring.
SYNTAX
ConvertTo-SerializedString [-Input] <Object> [<CommonParameters>]
DESCRIPTION
Convert any .NET object that is marked as Serializable to a Base64-encoded s
tring.
This cmdlet is the companion of ConvertFrom-SerializedString.
PARAMETERS
-Input <Object>
The serializable object.
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.String
NOTES
Category: toolkit
-------------- Example 1 --------------
C:\PS>$str = Connect-NaController dunn | ConvertTo-SerializedString
Save a controller connection context for use later.
RELATED LINKS
ConvertFrom-SerializedString
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|