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

Commit

Permalink
Merge pull request #299 from OfficeDev/dev
Browse files Browse the repository at this point in the history
April 2016 Intermediate Release
  • Loading branch information
erwinvanhunen committed Apr 20, 2016
2 parents 13f20ed + 8b63b5e commit 2c859e8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
Binary file modified Binaries/PnPPowerShellCommands15.msi
Binary file not shown.
Binary file modified Binaries/PnPPowerShellCommands16.msi
Binary file not shown.
9 changes: 6 additions & 3 deletions Commands/Branding/GetProvisioningTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public class GetProvisioningTemplate : SPOWebCmdlet
public Handlers ExcludeHandlers;

[Parameter(Mandatory = false, HelpMessage = "Allows you to specify ExtensbilityHandlers to execute while extracting a template")]
public ExtensibilityHandler[] ExtensbilityHandlers;
public ExtensibilityHandler[] ExtensibilityHandlers;

[Parameter(Mandatory = false, HelpMessage = "Overwrites the output file if it exists.")]
public SwitchParameter Force;
Expand All @@ -104,7 +104,7 @@ public class GetProvisioningTemplate : SPOWebCmdlet
[Parameter(Mandatory = false)]
public System.Text.Encoding Encoding = System.Text.Encoding.Unicode;



protected override void ExecuteCmdlet()
{
Expand Down Expand Up @@ -164,7 +164,10 @@ private string GetProvisioningTemplateXML(XMLPnPSchemaVersion schema, string pat
creationInformation.PersistPublishingFiles = PersistPublishingFiles;
creationInformation.IncludeNativePublishingFiles = IncludeNativePublishingFiles;
creationInformation.IncludeSiteGroups = IncludeSiteGroups;
creationInformation.ExtensibilityHandlers = ExtensbilityHandlers.ToList<ExtensibilityHandler>();
if (ExtensibilityHandlers != null)
{
creationInformation.ExtensibilityHandlers = ExtensibilityHandlers.ToList<ExtensibilityHandler>();
}
creationInformation.FileConnector = new FileSystemConnector(path, "");

#pragma warning disable CS0618 // Type or member is obsolete
Expand Down
Binary file modified Commands/ModuleFiles/OfficeDevPnP.PowerShell.V15.Commands.psd1
Binary file not shown.
Binary file modified Commands/ModuleFiles/OfficeDevPnP.PowerShell.V16.Commands.psd1
Binary file not shown.
4 changes: 2 additions & 2 deletions Documentation/GetSPOProvisioningTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Generates a provisioning template from a web
##Syntax
```powershell
Get-SPOProvisioningTemplate [-IncludeAllTermGroups [<SwitchParameter>]] [-IncludeSiteCollectionTermGroup [<SwitchParameter>]] [-IncludeSiteGroups [<SwitchParameter>]] [-PersistBrandingFiles [<SwitchParameter>]] [-PersistPublishingFiles [<SwitchParameter>]] [-IncludeNativePublishingFiles [<SwitchParameter>]] [-Handlers <Handlers>] [-ExcludeHandlers <Handlers>] [-ExtensbilityHandlers <ExtensibilityHandler[]>] [-Force [<SwitchParameter>]] [-Encoding <Encoding>] [-Web <WebPipeBind>] [-Out <String>] [-Schema <XMLPnPSchemaVersion>]
Get-SPOProvisioningTemplate [-IncludeAllTermGroups [<SwitchParameter>]] [-IncludeSiteCollectionTermGroup [<SwitchParameter>]] [-IncludeSiteGroups [<SwitchParameter>]] [-PersistBrandingFiles [<SwitchParameter>]] [-PersistPublishingFiles [<SwitchParameter>]] [-IncludeNativePublishingFiles [<SwitchParameter>]] [-Handlers <Handlers>] [-ExcludeHandlers <Handlers>] [-ExtensibilityHandlers <ExtensibilityHandler[]>] [-Force [<SwitchParameter>]] [-Encoding <Encoding>] [-Web <WebPipeBind>] [-Out <String>] [-Schema <XMLPnPSchemaVersion>]
```


Expand All @@ -11,7 +11,7 @@ Parameter|Type|Required|Description
---------|----|--------|-----------
|Encoding|Encoding|False||
|ExcludeHandlers|Handlers|False|Allows you to run all handlers, excluding the ones specified.|
|ExtensbilityHandlers|ExtensibilityHandler[]|False|Allows you to specify ExtensbilityHandlers to execute while extracting a template|
|ExtensibilityHandlers|ExtensibilityHandler[]|False|Allows you to specify ExtensbilityHandlers to execute while extracting a template|
|Force|SwitchParameter|False|Overwrites the output file if it exists.|
|Handlers|Handlers|False|Allows you to only process a specific type of artifact in the site. Notice that this might result in a non-working template, as some of the handlers require other artifacts in place if they are not part of what your extracting.|
|IncludeAllTermGroups|SwitchParameter|False|If specified, all term groups will be included. Overrides IncludeSiteCollectionTermGroup.|
Expand Down
2 changes: 1 addition & 1 deletion Setup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Product Id="*"
Name="$(var.ProductName)"
Language="1033"
Version="2.3.1604.0"
Version="2.3.1604.1"
Manufacturer="OfficeDev PnP"
UpgradeCode="630fe2af-dc42-467d-94c8-6eefd065cbfa">

Expand Down

0 comments on commit 2c859e8

Please sign in to comment.