Getting the user’s Documents folder in Powershell November 22, 2023 by Tarik try this: [Environment]::GetFolderPath("MyDocuments")