external help file | Module Name | online version | schema |
---|---|---|---|
BitwardenPS-help.xml |
BitwardenPS |
2.0.0 |
Creates attachment in vault
New-BwVaultAttachment -ItemId <Object> -Content <String> -FileName <String> [-WhatIf] [-Confirm]
[<CommonParameters>]
New-BwVaultAttachment -ItemId <Object> -Path <String> [-WhatIf] [-Confirm] [<CommonParameters>]
POSTS multipart form data to /attachment
PS C:\> {{ Add example code here }}
{{ Add example description here }}
Item guid
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
String contents of file
Type: String
Parameter Sets: Content
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of file to create
Type: String
Parameter Sets: Content
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Path to file instead of string contents
Type: String
Parameter Sets: File
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.