IncludeHiddenFiles Parameter (Connect-SFTP Cmdlet)
Specifies whether the provider includes hidden files when listing directory contents on the SFTP server.
Syntax
Connect-SFTP -IncludeHiddenFiles bool
Data Type
bool
Default Value
true
Remarks
This property controls whether the 本製品 includes hidden files during file listings.
Files are considered hidden if their names begin with a period such as .gitignore or .env.
If this property is set to true, hidden files are included in directory listings.
If this property is set to false, the 本製品 excludes hidden files from all queries and file listings.