Skip to content

Latest commit

 

History

History
140 lines (107 loc) · 2.38 KB

New-BwVaultAttachment.md

File metadata and controls

140 lines (107 loc) · 2.38 KB
external help file Module Name online version schema
BitwardenPS-help.xml
BitwardenPS
2.0.0

New-BwVaultAttachment

SYNOPSIS

Creates attachment in vault

SYNTAX

Content (Default)

New-BwVaultAttachment -ItemId <Object> -Content <String> -FileName <String> [-WhatIf] [-Confirm]
 [<CommonParameters>]

File

New-BwVaultAttachment -ItemId <Object> -Path <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

POSTS multipart form data to /attachment

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-ItemId

Item guid

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Content

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

-FileName

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

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

-WhatIf

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

-Confirm

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS