Skip to content

OneDrive "files on demand" (sparse files) being downloaded without contents being accessed.  #7152

@b3nt0

Description

@b3nt0

Steps to reproduce

Change location to a folder synchronized with OneDrive where files or directories have not been accessed. This is represented in the UI by having a "cloud" icon in the "status" column in explorer. Run get-childitem for a listing of the contents. Any items that had a cloud icon in status now have a green check mark indicating that they have been downloaded. This can be verified in the OneDrive UI.

Expected behavior

Files are not downloaded until they are accessed.

Actual behavior

Files are downloaded without accessing contents.

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.2
PSEdition                      Core
GitCommitId                    v6.0.2
OS                             Microsoft Windows 10.0.17134
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

Labels

Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-FixedThe issue is fixed.WG-Cmdlets-Managementcmdlets in the Microsoft.PowerShell.Management module

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions