< Back

New-ItemADS

Mon Jan 13, 2020 8:28 am

NAME New-ItemADS



SYNOPSIS

Creates Alternate Data Streams in specific files or folders.





SYNTAX

New-ItemADS [-Stream] <String> [-Content] <String> [-ContentEncoding] <String> [-ItemType] <String> [[-Path]

<FileInfo>] [<CommonParameters>]





DESCRIPTION

Creates Alternate Data Streams in specific files or folders.





PARAMETERS

-Stream <String>

Name of alternate data stream.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Content <String>

Content of the alternate data stream.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ContentEncoding <String>

Specified the content encoding type.



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ItemType <String>

Type of item to hold the alternate data stream.



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Path <FileInfo>

Path for the existing file or folder to hold the alternate data stream.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\><example usage>



This example creates directory with alternate data stream.











RELATED LINKS