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

Commit 90f3aff

Browse files
Merge pull request #602 from SharePoint/dev
December 2016 Release
2 parents 554e5af + 4bc7496 commit 90f3aff

File tree

122 files changed

+1415
-538
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+1415
-538
lines changed
-3.9 MB
Binary file not shown.
-3.94 MB
Binary file not shown.
-4.09 MB
Binary file not shown.

Binaries/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The PowerShell Setup Binaries can be downloaded from https://github.com/SharePoint/PnP-PowerShell/releases

CmdletHelpGenerator/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,15 +527,15 @@ static void Main(string[] args)
527527
var psd1Path = $"{new FileInfo(inFile).Directory}\\ModuleFiles\\SharePointPnPPowerShell{spVersion}.psd1";
528528
var cmdletsToExportString = string.Join(",", cmdletsToExport.Select(x => "'" + x + "'"));
529529
var aliasesToExportString = string.Join(",", aliasesToExport.Select(x => "'" + x + "'"));
530-
WriteModuleManifest(psd1Path, spVersion, cmdletsToExportString, aliasesToExportString);
530+
WriteModuleManifest(psd1Path, spVersion, cmdletsToExportString, aliasesToExportString, assembly);
531531
}
532532

533-
private static void WriteModuleManifest(string path, string version, string cmdletsToExport, string aliasesToExport)
533+
private static void WriteModuleManifest(string path, string version, string cmdletsToExport, string aliasesToExport, Assembly assembly)
534534
{
535535
var manifest = $@"@{{
536536
ModuleToProcess = 'SharePointPnPPowerShell{version}.psm1'
537537
NestedModules = 'SharePointPnP.PowerShell.{version}.Commands.dll'
538-
ModuleVersion = '2.9.1611.0'
538+
ModuleVersion = '{assembly.GetName().Version}'
539539
Description = 'SharePoint Patterns and Practices PowerShell Cmdlets for SharePoint {version}'
540540
GUID = '8f1147be-a8e4-4bd2-a705-841d5334edc0'
541541
Author = 'SharePoint Patterns and Practices'

Commands/Admin/NewTenantSite.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class NewTenantSite : SPOAdminCmdlet
6060
public long StorageQuotaWarningLevel = 100;
6161

6262
#if !ONPREMISES
63-
[Parameter(Mandatory = false)]
63+
[Parameter(Mandatory = false, HelpMessage = "Specifies if any existing site with the same URL should be removed from the recycle bin")]
6464
public SwitchParameter RemoveDeletedSite;
6565
#endif
6666
[Parameter(Mandatory = false)]

Commands/Apps/UninstallAppInstance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace SharePointPnP.PowerShell.Commands
77
{
88
[Cmdlet(VerbsLifecycle.Uninstall, "PnPAppInstance", SupportsShouldProcess = true)]
9-
[CmdletAlias("Uinstall-SPOAppInstance")]
9+
[CmdletAlias("Uninstall-SPOAppInstance")]
1010
[CmdletHelp("Removes an app from a site", Category = CmdletHelpCategory.Apps)]
1111
[CmdletExample(Code = @"PS:> Uninstall-PnPAppInstance -Identity $appinstance", Remarks = "Uninstalls the app instance which was retrieved with the command Get-PnPAppInstance", SortOrder = 1)]
1212
[CmdletExample(Code = @"PS:> Uninstall-PnPAppInstance -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe", Remarks = "Uninstalls the app instance with the ID '99a00f6e-fb81-4dc7-8eac-e09c6f9132fe'", SortOrder = 2)]

Commands/Base/ExecuteQuery.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ namespace SharePointPnP.PowerShell.Commands.Base
1313
Remarks = @"This will execute any queued actions / changes on the SharePoint Client Side Object Model Context and will retry 5 times in case of throttling.", SortOrder = 1)]
1414
[CmdletExample(
1515
Code = @"PS:> Execute-PnPQuery -RetryWait 10",
16-
Remarks = @"This will execute any queued actions / changes on the SharePoint Client Side Object Model Context and delay the execution with 10 seconds when it needs to retry the execution.", SortOrder = 2)]
16+
Remarks = @"This will execute any queued actions / changes on the SharePoint Client Side Object Model Context and delay the execution for 10 seconds before it retries the execution.", SortOrder = 2)]
1717

1818
public class ExecuteSPOQuery : SPOCmdlet
1919
{
20-
[Parameter(Mandatory = false, HelpMessage = "Number to times to retry in case of throttling. Defaults to 10.")]
20+
[Parameter(Mandatory = false, HelpMessage = "Number of times to retry in case of throttling. Defaults to 10.")]
2121
public int RetryCount = 10;
2222

2323
[Parameter(Mandatory = false, HelpMessage = "Delay in seconds. Defaults to 1.")]

Commands/ContentTypes/GetContentType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace SharePointPnP.PowerShell.Commands.ContentTypes
2222
SortOrder = 2)]
2323
[CmdletExample(
2424
Code = @"PS:> Get-PnPContentType -Identity ""Project Document""",
25-
Remarks = @"This will get a listing of content types within the current context",
25+
Remarks = @"This will get the content type with the name ""Project Document"" within the current context",
2626
SortOrder = 3)]
2727
[CmdletExample(
2828
Code = @"PS:> Get-PnPContentType -List ""Documents""",

Commands/ContentTypes/RemoveContentType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace SharePointPnP.PowerShell.Commands.ContentTypes
88
{
99
[Cmdlet(VerbsCommon.Remove, "PnPContentType")]
1010
[CmdletAlias("Remove-SPOContentType")]
11-
[CmdletHelp("Removes a content type",
11+
[CmdletHelp("Removes a content type from a web",
1212
Category = CmdletHelpCategory.ContentTypes)]
1313
[CmdletExample(
1414
Code = @"PS:> Remove-PnPContentType -Identity ""Project Document""",

0 commit comments

Comments
 (0)