Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Commands/Base/PnPCmdlet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class PnPCmdlet : PSCmdlet
{
public ClientContext ClientContext => Connection?.Context ?? SPOnlineConnection.CurrentConnection.Context;

[Parameter(Mandatory = false, HelpMessage = "Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.")] // do not remove '#!#99'
[Parameter(Mandatory = false, HelpMessage = "Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.")] // do not remove '#!#99'
[PnPParameter(Order = 99)]
public SPOnlineConnection Connection = null;

Expand Down
6 changes: 3 additions & 3 deletions Commands/Workflows/GetWorkflowDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
namespace SharePointPnP.PowerShell.Commands.Workflows
{
[Cmdlet(VerbsCommon.Get, "PnPWorkflowDefinition")]
[CmdletHelp("Return a workflow definition",
[CmdletHelp("Returns a workflow definition",
"Returns a workflow definition",
Category = CmdletHelpCategory.Workflows,
OutputType = typeof(WorkflowDefinition),
OutputTypeLink = "https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.workflowservices.workflowdefinition.aspx")]
[CmdletExample(
Code = @"PS:> Get-PnPWorkflowDefinition -Name MyWorkflow",
Remarks = @"Gets an Workflow with the name ""MyWorkflow"".",
Remarks = @"Gets a Workflow with the name ""MyWorkflow"".",
SortOrder = 1)]
[CmdletExample(
Code = @"PS:> Get-PnPWorkflowDefinition -Name MyWorkflow -PublishedOnly $false",
Remarks = @"Gets an Workflow with the name ""MyWorkflow"" that is published.",
Remarks = @"Gets a Workflow with the name ""MyWorkflow"" that is published.",
SortOrder = 2)]
public class GetWorkflowDefinition : PnPWebCmdlet
{
Expand Down