Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaFileSymlink


NAME
Get-NaFileSymlink

SYNOPSIS
Read the contents of a symlink.

SYNTAX
Get-NaFileSymlink [-Path] <String> [-Controller <NaController>] [-WarningAct
ion <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Read the contents of a symlink.


PARAMETERS
-Path <String>
Path of the symlink, i.e. /vol/<volumename>/<symlinkname>.

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

-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction <ActionPreference>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable <String>


Required? false
Position? named
Default value
Accept pipeline input? false
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: file
API: file-read-symlink

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

C:\PS>Get-NaFileSymlink /vol/vol0/etc/symhosts


Get the file path pointed to by symlink /vol/vol0/etc/symhosts.


/vol/vol0/etc/hosts



RELATED LINKS
New-NaFileSymlink







 Data ONTAP® PowerShell Toolkit