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

Commit a1c178a

Browse files
Merge pull request #988 from SharePoint/dev
August 2017 Release
2 parents dd0fe51 + cb2d07f commit a1c178a

File tree

6 files changed

+26
-6
lines changed

6 files changed

+26
-6
lines changed

Commands/Lists/RemoveList.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ namespace SharePointPnP.PowerShell.Commands.Lists
99
[CmdletHelp("Deletes a list",
1010
Category = CmdletHelpCategory.Lists)]
1111
[CmdletExample(
12-
Code = "PS:> Remove-PnPList -Title Announcements",
12+
Code = "PS:> Remove-PnPList -Identity Announcements",
1313
SortOrder = 1,
1414
Remarks = @"Removes the list named 'Announcements'. Asks for confirmation.")]
1515
[CmdletExample(
16-
Code = "PS:> Remove-PnPList -Title Announcements -Force",
16+
Code = "PS:> Remove-PnPList -Identity Announcements -Force",
1717
SortOrder = 2,
1818
Remarks = @"Removes the list named 'Announcements' without asking for confirmation.")]
1919
public class RemoveList : PnPWebCmdlet

Commands/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
// You can specify all the values or you can default the Build and Revision Numbers
4545
// by using the '*' as shown below:
4646
// [assembly: AssemblyVersion("1.0.*")]
47-
[assembly: AssemblyVersion("2.16.1706.1")]
48-
[assembly: AssemblyFileVersion("2.16.1706.1")]
47+
[assembly: AssemblyVersion("2.17.1708.0")]
48+
[assembly: AssemblyFileVersion("2.17.1708.0")]
4949
[assembly: InternalsVisibleTo("SharePointPnP.PowerShell.Tests")]

Commands/Provisioning/ConvertProvisioningTemplate.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ protected override void BeginProcessing()
105105
formatter = XMLPnPSchemaFormatter.GetSpecificFormatter(XMLConstants.PROVISIONING_SCHEMA_NAMESPACE_2016_05);
106106
break;
107107
}
108+
case XMLPnPSchemaVersion.V201705:
109+
{
110+
formatter = XMLPnPSchemaFormatter.GetSpecificFormatter(XMLConstants.PROVISIONING_SCHEMA_NAMESPACE_2017_05);
111+
break;
112+
}
108113
}
109114

110115
if (!string.IsNullOrEmpty(Out))

Commands/Provisioning/GetProvisioningTemplate.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,16 @@ private void ExtractTemplate(XMLPnPSchemaVersion schema, string path, string pac
403403
formatter = XMLPnPSchemaFormatter.GetSpecificFormatter(XMLConstants.PROVISIONING_SCHEMA_NAMESPACE_2015_12);
404404
break;
405405
}
406+
case XMLPnPSchemaVersion.V201605:
407+
{
408+
formatter = XMLPnPSchemaFormatter.GetSpecificFormatter(XMLConstants.PROVISIONING_SCHEMA_NAMESPACE_2016_05);
409+
break;
410+
}
411+
case XMLPnPSchemaVersion.V201705:
412+
{
413+
formatter = XMLPnPSchemaFormatter.GetSpecificFormatter(XMLConstants.PROVISIONING_SCHEMA_NAMESPACE_2017_05);
414+
break;
415+
}
406416
}
407417

408418
if (extension == ".pnp")

Commands/Provisioning/NewProvisioningTemplateFromFolder.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,11 @@ private static ITemplateFormatter GetTemplateFormatterFromSchema(XMLPnPSchemaVer
272272
formatter = XMLPnPSchemaFormatter.GetSpecificFormatter(XMLConstants.PROVISIONING_SCHEMA_NAMESPACE_2016_05);
273273
break;
274274
}
275+
case XMLPnPSchemaVersion.V201705:
276+
{
277+
formatter = XMLPnPSchemaFormatter.GetSpecificFormatter(XMLConstants.PROVISIONING_SCHEMA_NAMESPACE_2017_05);
278+
break;
279+
}
275280
}
276281
return formatter;
277282
}

Documentation/RemovePnPList.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ Parameter|Type|Required|Description
1818

1919
### Example 1
2020
```powershell
21-
PS:> Remove-PnPList -Title Announcements
21+
PS:> Remove-PnPList -Identity Announcements
2222
```
2323
Removes the list named 'Announcements'. Asks for confirmation.
2424

2525
### Example 2
2626
```powershell
27-
PS:> Remove-PnPList -Title Announcements -Force
27+
PS:> Remove-PnPList -Identity Announcements -Force
2828
```
2929
Removes the list named 'Announcements' without asking for confirmation.

0 commit comments

Comments
 (0)