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
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