Returns the path of the current file open in VSCode, when run in the PowerShell Extension Terminal in VSCode.
Get-VSCCurrentFile.ps1 [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-VSCCurrentFile.ps1
C:\GitHub\scripts\Get-VSCCurrentFile.ps1
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://github.com/PowerShell/PowerShellEditorServices
https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell