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