Skip to content

Commit fd65170

Browse files
committed
Cleaned up and implemented ALC
1 parent 76ef587 commit fd65170

File tree

496 files changed

+1054
-866
lines changed

Some content is hidden

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

496 files changed

+1054
-866
lines changed

Commands/Admin/AddHubSiteAssociation.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.PowerShell.Commands.Base.PipeBinds;

Commands/Admin/AddMicrosoft365GroupToSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

Commands/Admin/AddOrgAssetsLibrary.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55
using Microsoft.Online.SharePoint.TenantAdministration;

Commands/Admin/AddOrgNewsSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55
using PnP.PowerShell.Commands.Base.PipeBinds;

Commands/Admin/AddSiteCollectionAppCatalog.cs

-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
43
using PnP.PowerShell.Commands.Base;
54
using System.Management.Automation;
65
using PnP.PowerShell.Commands.Base.PipeBinds;
76

87
namespace PnP.PowerShell.Commands.Admin
98
{
109
[Cmdlet(VerbsCommon.Add, "PnPSiteCollectionAppCatalog")]
11-
12-
13-
[CmdletRelatedLink(Text = "Documentation", Url = "https://docs.microsoft.com/sharepoint/dev/general-development/site-collection-app-catalog#configure-and-manage-site-collection-app-catalogs")]
1410
public class AddSiteCollectionAppCatalog : PnPAdminCmdlet
1511
{
1612
[Parameter(Mandatory = true)]

Commands/Admin/AddTenantCdnOrigin.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

Commands/Admin/AddTenantTheme.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

Commands/Admin/ClearTenantAppCatalogUrl.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Management.Automation;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55

66
namespace PnP.PowerShell.Commands

Commands/Admin/GetHideDefaultThemes.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

Commands/Admin/GetHomeSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55

Commands/Admin/GetHubSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using PnP.PowerShell.Commands.Base.PipeBinds;
55
using System.Management.Automation;

Commands/Admin/GetHubSiteChild.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using PnP.PowerShell.Commands.Base.PipeBinds;
66
using System;

Commands/Admin/GetKnowledgeHubSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55

Commands/Admin/GetOrgAssetsLibrary.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55

Commands/Admin/GetOrgNewsSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55

Commands/Admin/GetStorageEntity.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Management.Automation;
33
using Microsoft.Online.SharePoint.TenantAdministration;
44
using Microsoft.SharePoint.Client;
5-
using PnP.PowerShell.CmdletHelpAttributes;
5+
66
using PnP.PowerShell.Commands.Base;
77
using PnP.PowerShell.Commands.Enums;
88
using System.Collections.Generic;

Commands/Admin/GetTenant.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55
using PnP.PowerShell.Commands.Model;

Commands/Admin/GetTenantAppCatalogUrl.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Management.Automation;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44

55
namespace PnP.PowerShell.Commands
66
{

Commands/Admin/GetTenantCdnEnabled.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66

Commands/Admin/GetTenantCdnOrigin.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66

Commands/Admin/GetTenantCdnPolicies.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

Commands/Admin/GetTenantId.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System;
55
using System.Management.Automation;

Commands/Admin/GetTenantSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Management.Automation;
44
using Microsoft.Online.SharePoint.TenantAdministration;
55
using Microsoft.SharePoint.Client;
6-
using PnP.PowerShell.CmdletHelpAttributes;
6+
77
using PnP.PowerShell.Commands.Base;
88
using PnP.PowerShell.Commands.Enums;
99
using System.Collections.Generic;

Commands/Admin/GetTenantSyncClientRestriction.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55
using PnP.PowerShell.Commands.Model;

Commands/Admin/GetTenantTheme.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

Commands/Admin/GetTimeZoneId.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using PnP.PowerShell.CmdletHelpAttributes;
1+

22
using System;
33
using System.Collections.Generic;
44
using System.Linq;

Commands/Admin/GetWebTemplates.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using PnP.PowerShell.CmdletHelpAttributes;
1+

22
using Microsoft.SharePoint.Client;
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;

Commands/Admin/GrantHubSiteRights.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using PnP.PowerShell.Commands.Base.PipeBinds;
66
using System;

Commands/Admin/NewSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Management.Automation;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base.PipeBinds;
55
using PnP.PowerShell.Commands.Enums;
66
using System;

Commands/Admin/NewTenantSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.SharePoint.Client;
22
using PnP.Framework;
33
using PnP.Framework.Entities;
4-
using PnP.PowerShell.CmdletHelpAttributes;
4+
55
using PnP.PowerShell.Commands.Base;
66
using System;
77
using System.Management.Automation;

Commands/Admin/RegisterAppCatalogSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55

Commands/Admin/RegisterHubSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

Commands/Admin/RemoveHomeSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55

Commands/Admin/RemoveHubSiteAssociation.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

Commands/Admin/RemoveKnowledgeHubSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55

Commands/Admin/RemoveOrgAssetsLibrary.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66

Commands/Admin/RemoveOrgNewsSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.PowerShell.Commands.Base.PipeBinds;

Commands/Admin/RemoveSiteCollectionAppCatalog.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

Commands/Admin/RemoveStorageEntity.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Management.Automation;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Enums;
55

66
namespace PnP.PowerShell.Commands

Commands/Admin/RemoveTenantCdnOrigin.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

Commands/Admin/RemoveTenantSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Management.Automation;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using Resources = PnP.PowerShell.Commands.Properties.Resources;
66
using System;

Commands/Admin/RemoveTenantTheme.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using PnP.PowerShell.Commands.Base.PipeBinds;
66
using System.Management.Automation;

Commands/Admin/RevokeHubSiteRights.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using PnP.PowerShell.Commands.Base.PipeBinds;
66
using System;

Commands/Admin/SetHideDefaultThemes.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66

Commands/Admin/SetHomeSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55

Commands/Admin/SetHubSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using PnP.PowerShell.Commands.Base.PipeBinds;
55
using System.Management.Automation;

Commands/Admin/SetKnowledgeHubSite.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Microsoft.SharePoint.Client;
2-
using PnP.PowerShell.CmdletHelpAttributes;
2+
33
using PnP.PowerShell.Commands.Base;
44
using System.Management.Automation;
55

Commands/Admin/SetStorageEntity.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Management.Automation;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Enums;
55

66
namespace PnP.PowerShell.Commands

Commands/Admin/SetTenant.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using System;

Commands/Admin/SetTenantAppCatalogUrl.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Management.Automation;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55

66
namespace PnP.PowerShell.Commands

Commands/Admin/SetTenantCdnEnabled.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Online.SharePoint.TenantAdministration;
22
using Microsoft.SharePoint.Client;
3-
using PnP.PowerShell.CmdletHelpAttributes;
3+
44
using PnP.PowerShell.Commands.Base;
55
using System.Management.Automation;
66
using PnP.Framework.Sites;

0 commit comments

Comments
 (0)