File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed
5.1/Microsoft.PowerShell.Host
7.4/Microsoft.PowerShell.Host
7.5/Microsoft.PowerShell.Host Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.ConsoleHost.dll-help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Host
5- ms.date : 04/30/2024
5+ ms.date : 01/06/2025
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.host/start-transcript?view=powershell-5.1&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : Start-Transcript
@@ -91,7 +91,7 @@ $hostname = hostname
9191$version = $PSVersionTable.PSVersion.ToString()
9292$datetime = Get-Date -f 'yyyyMMddHHmmss'
9393$filename = "Transcript-${username}-${hostname}-${version}-${datetime}.txt"
94- $Transcript = Join-Path -Path $sharepath -ChildPath $filename
94+ $Transcript = ( Join-Path -Path $sharepath -ChildPath $filename).ToString()
9595Start-Transcript
9696```
9797
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.ConsoleHost.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Host
5- ms.date : 04/30/2024
5+ ms.date : 01/06/2025
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.host/start-transcript?view=powershell-7.4&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : Start-Transcript
@@ -92,7 +92,7 @@ $hostname = hostname
9292$version = $PSVersionTable.PSVersion.ToString()
9393$datetime = Get-Date -f 'yyyyMMddHHmmss'
9494$filename = "Transcript-${username}-${hostname}-${version}-${datetime}.txt"
95- $Transcript = Join-Path -Path $sharepath -ChildPath $filename
95+ $Transcript = ( Join-Path -Path $sharepath -ChildPath $filename).ToString()
9696Start-Transcript
9797```
9898
@@ -262,8 +262,7 @@ Accept wildcard characters: False
262262
263263# ## -WhatIf
264264
265- Shows what would happen if the cmdlet runs.
266- The cmdlet isn't run.
265+ Shows what would happen if the cmdlet runs. The cmdlet isn't run.
267266
268267` ` ` yaml
269268Type: System.Management.Automation.SwitchParameter
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.ConsoleHost.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Host
5- ms.date : 04/30/2024
5+ ms.date : 01/06/2025
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.host/start-transcript?view=powershell-7.5&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : Start-Transcript
@@ -92,7 +92,7 @@ $hostname = hostname
9292$version = $PSVersionTable.PSVersion.ToString()
9393$datetime = Get-Date -f 'yyyyMMddHHmmss'
9494$filename = "Transcript-${username}-${hostname}-${version}-${datetime}.txt"
95- $Transcript = Join-Path -Path $sharepath -ChildPath $filename
95+ $Transcript = ( Join-Path -Path $sharepath -ChildPath $filename).ToString()
9696Start-Transcript
9797```
9898
@@ -262,8 +262,7 @@ Accept wildcard characters: False
262262
263263# ## -WhatIf
264264
265- Shows what would happen if the cmdlet runs.
266- The cmdlet isn't run.
265+ Shows what would happen if the cmdlet runs. The cmdlet isn't run.
267266
268267` ` ` yaml
269268Type: System.Management.Automation.SwitchParameter
You can’t perform that action at this time.
0 commit comments