-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-hostArea - Microsoft.PowerShell.Host moduleArea - Microsoft.PowerShell.Host moduleissue-doc-bugIssue - error in documentationIssue - error in documentation
Description
Prerequisites
- Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
- Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Typo in
Get-Foocmdlet" instead of "Typo." - Verify Version: If there is a mismatch between documentation and the behavior on your system, ensure that the version you are using is the same as the documentation. Check this box if they match or the issue you are reporting is not version specific.
Links
PowerShell/PowerShell#25907
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.host/start-transcript?view=powershell-7.5#-outputdirectory
Summary
Start-Transcript when using -OutputDirectory if the user specifies a relative path, it is relative to their Documents folder and not the current working directory. The docs should explicitly mention this behavior and also include an example on using Resolve-Path on how to use a relative path with this cmdlet.
Details
No response
Suggested Fix
No response
Metadata
Metadata
Assignees
Labels
area-hostArea - Microsoft.PowerShell.Host moduleArea - Microsoft.PowerShell.Host moduleissue-doc-bugIssue - error in documentationIssue - error in documentation