Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Fixed typo for New-PnPExtensibilityHandlerObject
Browse files Browse the repository at this point in the history
  • Loading branch information
PaoloPia committed Jan 17, 2018
1 parent 1d84600 commit a4f9d8d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Commands/Extensibility/NewExtensibilityHandlerObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace SharePointPnP.PowerShell.Commands.Extensibility
OutputType=typeof(ExtensibilityHandler))]
[CmdletExample(
Code = @"
PS:> $handler = New-PnPExtensbilityHandlerObject -Assembly Contoso.Core.Handlers -Type Contoso.Core.Handlers.MyExtensibilityHandler
PS:> $handler = New-PnPExtensibilityHandlerObject -Assembly Contoso.Core.Handlers -Type Contoso.Core.Handlers.MyExtensibilityHandler
PS:> Get-PnPProvisioningTemplate -Out NewTemplate.xml -ExtensibilityHandlers $handler",
Remarks = @"This will create a new ExtensibilityHandler object that is run during extraction of the template",
SortOrder = 1)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ external help file:
applicable: SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
schema: 2.0.0
---
# New-PnPExtensbilityHandlerObject
# New-PnPExtensibilityHandlerObject

## SYNOPSIS
Creates an ExtensibilityHandler Object, to be used by the Get-SPOProvisioningTemplate cmdlet

## SYNTAX

```powershell
New-PnPExtensbilityHandlerObject -Type <String>
-Assembly <String>
[-Configuration <String>]
[-Disabled [<SwitchParameter>]]
New-PnPExtensibilityHandlerObject -Type <String>
-Assembly <String>
[-Configuration <String>]
[-Disabled [<SwitchParameter>]]
```

## EXAMPLES

### ------------------EXAMPLE 1------------------
```powershell
PS:> $handler = New-PnPExtensbilityHandlerObject -Assembly Contoso.Core.Handlers -Type Contoso.Core.Handlers.MyExtensibilityHandler
PS:> $handler = New-PnPExtensibilityHandlerObject -Assembly Contoso.Core.Handlers -Type Contoso.Core.Handlers.MyExtensibilityHandler
PS:> Get-PnPProvisioningTemplate -Out NewTemplate.xml -ExtensibilityHandlers $handler
```

Expand Down

0 comments on commit a4f9d8d

Please sign in to comment.