You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Comment based help should be loose validating #1021
functionGet-CronJob {
<#.SYNOPSIS Returns the current cron jobs from the cron table.DESCRIPTION Returns the current cron jobs from the cron table.EXAMPLE Get-CronJob -UserName Steve.RETURNVALUE CronJob objects.PARAMETERUserName Optional parameter to specify a specific user's cron table#>
[CmdletBinding()]
[OutputType([PSObject])]
param (
[Alias("u")][Parameter(Mandatory=$false)][String] $UserName
)
process {
$crontab=Get-CronTab-user $UserNameForEach ($linein$crontab) {
if ($line.Trim().Length -gt0)
{
ConvertTo-CronJob-crontab $line
}
}
}
}
In general, I think we should be loose validating so that future supported extensions don't break existing scripts. Strict validation should be handled by PSScriptAnalyzer. In this case, I would agree this isn't needed for 6.0.0 as it's working as previously designed.
This would be a nice to have but I can't see how much value this would really add as the CBH syntax is already quite presctriptive and I'm not sure that this really will add much more value for the effort to enable it
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 23, 2023
Activity
andyleejordan commentedon May 23, 2016
sergei (@vors) Can you point me toward the help system that would do this?
vors commentedon May 23, 2016
Andy Jordan (@andschwa) start from https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/help/HelpCommands.cs
Migrate from project.json to MSBuild (#3398)
7 remaining items
[-]Comment based help not working[/-][+]Comment based help should be loose validating[/+]SteveL-MSFT commentedon Jun 13, 2017
In general, I think we should be loose validating so that future supported extensions don't break existing scripts. Strict validation should be handled by PSScriptAnalyzer. In this case, I would agree this isn't needed for 6.0.0 as it's working as previously designed.
kilasuit commentedon Feb 15, 2022
This would be a nice to have but I can't see how much value this would really add as the CBH syntax is already quite presctriptive and I'm not sure that this really will add much more value for the effort to enable it
doctordns commentedon Feb 15, 2022
I would like some better error reporting when the CBH is broken. I'd like to see get-help to actually report the errors vs silently failing.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.
Migrate from project.json to MSBuild (PowerShell#3398)