Copy-AksEdgeNodeFile
Kopieert een bestand naar of van een knooppunt.
Syntax
Copy-AksEdgeNodeFile [-FromFile <String>] [-ToFile <String>] [-PushFile][-NodeType] [<CommonParameters>]
Beschrijving
Kopieert bestanden naar of van een knooppunt.
Voorbeelden
Voorbeeld 1
Pusht sample.json naar een bestand naar het Linux-knooppunt en noemt het bestand config.json.
Copy-AksEdgeNodeFile -FromFile ./sample.json -ToFile /var/config.json -PushFile -NodeType Linux
Parameters
-FromFile
Bestand waaruit moet worden gelezen.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ToFile
Bestand waar naar moet worden geschreven.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PushFile
Geeft de kopieerrichting aan. Indien aanwezig, wordt het bestand naar het knooppunt gepusht.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Nodetype
Hiermee geeft u het Linux- of Windows-knooppunt op waarmee verbinding moet worden gemaakt. De standaardwaarde is Linux.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: Linux
Accept pipeline input: False
Accept wildcard characters: False
Algemene parameters
Deze cmdlet biedt ondersteuning voor de meest gebruikte parameters: -Debug, - ErrorAction, - ErrorVariable, - InformationAction, -InformationVariable, - OutVariable,-OutBuffer, - PipelineVariable - Verbose, - WarningAction en -WarningVariable. Zie about_CommonParameters voor meer informatie.