Netstorage Credentials
Get-NetstorageCredentials
Synopsis
Gets NetStorage credentials.
Syntax
Get-NetstorageCredentials [[-AuthFile] <String>] [[-Section] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
The Get-NetstorageCredentials
cmdlet gets NetStorage authentication credentials from environment variables or an authentication file.
Examples
-
GET
all credentials.Get-NetstorageCredentials
-
GET
credentials by file and section.Get-NetstorageCredentials -AuthFile "/path/to/auth" -Section "MySection"
Parameters
-AuthFile
The path to an authentication file.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Section
Auththentication file/env
variable section.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Related Links
Updated 1 day ago