You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FindFirstFileName and FindNextFileName are available in NanoServer and IoT now, so we should enable the usage of them in powershell core #2349
Issue-Enhancementthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Enginecore PowerShell engine, interpreter, and runtime
The usage of FindFirstFileName and FindNextFileName is disabled in powershell core at https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/namespaces/FileSystemProvider.cs#L7928. Now they are available in NanoServer and IoT in the API set api-ms-win-core-file-l1-2-2, so maybe now it's the time to enable them in powershell core. Note that this API set is not available in .net core packages by default, so we basically need to verify if the kernel32 forwarder on NanoServer and IoT can correctly forward the call to the right API set.
(Fixed in Cleanup FileSystemProvider from runtime checks #7655) FileSystemProvider.cs needs to be refactored. I spot 2 things -- (1) GetTarget and InternalGetTarget needs to be refactored as Platform.NonWindowsInternalGetTarget won't be reached at all. (2) runtime checks should be converted to compilation time checks as much as possible.
Dongbo Wang (@daxian-dbw) I reviewed point one and debug for windows reparse points (symlink and mount point) - this works well and we get ETS Target property for FileSystemInfo objects. So the code with FindFirstFileName (currently disabled) looks unnecessary. I think we could remove it. Do I skip something?
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 23, 2023
Issue-Enhancementthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Enginecore PowerShell engine, interpreter, and runtime
Activity
SteveL-MSFT commentedon Nov 4, 2016
It appears that this will enable retrieving file attributes if a file is in use.
Expected is Mode column has attribute information
iSazonov commentedon Aug 30, 2018
Dongbo Wang (@daxian-dbw) I reviewed point one and debug for windows reparse points (symlink and mount point) - this works well and we get ETS Target property for FileSystemInfo objects. So the code with FindFirstFileName (currently disabled) looks unnecessary. I think we could remove it. Do I skip something?
iSazonov commentedon Sep 8, 2018
Dongbo Wang (@daxian-dbw) Could you please look my previous comment? Seems we could remove the dead code.
daxian-dbw commentedon Sep 10, 2018
Ilya (@iSazonov) Will look at the uses of those native APIs again.
iSazonov commentedon Sep 29, 2019
Dongbo Wang (@daxian-dbw) Steve Lee (@SteveL-MSFT) Can we close the issue?
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.