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

Commit

Permalink
namespace change
Browse files Browse the repository at this point in the history
  • Loading branch information
erwinvanhunen committed Jul 8, 2020
1 parent ac9abcf commit cece22c
Show file tree
Hide file tree
Showing 1,136 changed files with 2,383 additions and 2,412 deletions.
8 changes: 4 additions & 4 deletions Commands/Admin/AddHubSiteAssociation.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPHubSiteAssociation")]
[Alias("Connect-PnPHubSite")]
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/AddMicrosoft365GroupToSite.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPMicrosoft365GroupToSite")]
[CmdletHelp("Groupifies a classic team site by creating a Microsoft 365 group for it and connecting the site with the newly created group",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/AddOrgAssetsLibrary.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using Microsoft.Online.SharePoint.TenantAdministration;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPOrgAssetsLibrary")]
[CmdletHelp("Adds a given document library as a organizational asset source",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/AddOrgNewsSite.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPOrgNewsSite")]
[CmdletHelp("Adds the site as an organization news source in your tenant",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/AddSiteCollectionAppCatalog.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPSiteCollectionAppCatalog")]
[CmdletHelp("Adds a Site Collection scoped App Catalog to a site",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/AddTenantCdnOrigin.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPTenantCdnOrigin")]
[CmdletHelp("Adds a new origin to the public or private content delivery network (CDN).",
Expand Down
10 changes: 5 additions & 5 deletions Commands/Admin/AddTenantTheme.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using SharePointPnP.PowerShell.Commands.Model;
using PnP.PowerShell.Commands.Model;
using Newtonsoft.Json;
using System.Linq;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPTenantTheme")]
[CmdletHelp("Adds or updates a theme to the tenant.",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/ClearTenantAppCatalogUrl.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !ONPREMISES
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;

namespace SharePointPnP.PowerShell.Commands
namespace PnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Clear, "PnPTenantAppCatalogUrl", SupportsShouldProcess = true)]
[CmdletHelp(@"Removes the url of the tenant scoped app catalog. It will not delete the site collection itself.",
Expand Down
12 changes: 6 additions & 6 deletions Commands/Admin/GetHideDefaultThemes.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using SharePointPnP.PowerShell.Commands.Enums;
using PnP.PowerShell.Commands.Enums;
using System.Collections.Generic;
using SharePointPnP.PowerShell.Commands.Model;
using PnP.PowerShell.Commands.Model;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPHideDefaultThemes")]
[CmdletHelp(@"Returns if the default / OOTB themes should be visible to users or not.",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/GetHomeSite.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPHomeSite")]
[CmdletHelp("Returns the home site url for your tenant",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/GetHubSite.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System.Management.Automation;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPHubSite")]
[CmdletHelp(@"Retrieve all or a specific hubsite.",
Expand Down
10 changes: 5 additions & 5 deletions Commands/Admin/GetHubSiteChild.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using System.Management.Automation;
using Resources = SharePointPnP.PowerShell.Commands.Properties.Resources;
using Resources = PnP.PowerShell.Commands.Properties.Resources;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPHubSiteChild")]
[CmdletHelp(@"Retrieves all sites linked to a specific hub site",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/GetKnowledgeHubSite.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPKnowledgeHubSite")]
[CmdletHelp("Gets the Knowledge Hub Site URL for your tenant",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/GetOrgAssetsLibrary.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPOrgAssetsLibrary")]
[CmdletHelp("Returns the list of all the configured organizational asset libraries",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/GetOrgNewsSite.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPOrgNewsSite")]
[CmdletHelp("Returns the list of all the configured organizational news sites.",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/GetStorageEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
using System.Management.Automation;
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using SharePointPnP.PowerShell.Commands.Enums;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Enums;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace SharePointPnP.PowerShell.Commands
namespace PnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Get, "PnPStorageEntity", SupportsShouldProcess = true)]
[CmdletHelp(@"Retrieve Storage Entities / Farm Properties from either the Tenant App Catalog or from the current site if it has a site scope app catalog.",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/GetTenant.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using SharePointPnP.PowerShell.Commands.Model;
using PnP.PowerShell.Commands.Model;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPTenant")]
[CmdletHelp(@"Returns organization-level site collection properties",
Expand Down
4 changes: 2 additions & 2 deletions Commands/Admin/GetTenantAppCatalogUrl.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#if !ONPREMISES
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.CmdletHelpAttributes;

namespace SharePointPnP.PowerShell.Commands
namespace PnP.PowerShell.Commands
{
[Cmdlet(VerbsCommon.Get, "PnPTenantAppCatalogUrl", SupportsShouldProcess = true)]
[CmdletHelp(@"Retrieves the url of the tenant scoped app catalog",
Expand Down
10 changes: 5 additions & 5 deletions Commands/Admin/GetTenantCdnEnabled.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using SharePointPnP.PowerShell.Commands.Enums;
using PnP.PowerShell.Commands.Enums;
using System.Collections.Generic;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPTenantCdnEnabled")]
[CmdletHelp("Retrieves if the Office 365 Content Delivery Network has been enabled.",
Expand Down
8 changes: 4 additions & 4 deletions Commands/Admin/GetTenantCdnOrigin.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPTenantCdnOrigin")]
[CmdletHelp("Returns the current registered origins from the public or private content delivery network (CDN).",
Expand Down
10 changes: 5 additions & 5 deletions Commands/Admin/GetTenantCdnPolicies.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Base.PipeBinds;
using System;
using SharePointPnP.PowerShell.Commands.Enums;
using PnP.PowerShell.Commands.Enums;
using System.Collections.Generic;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPTenantCdnPolicies")]
[CmdletHelp("Returns the CDN Policies for the specified CDN (Public | Private).",
Expand Down
6 changes: 3 additions & 3 deletions Commands/Admin/GetTenantId.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#if !ONPREMISES
using Microsoft.SharePoint.Client;
using Newtonsoft.Json.Linq;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using PnP.PowerShell.CmdletHelpAttributes;
using PnP.PowerShell.Commands.Base;
using System;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -11,7 +11,7 @@
using System.Threading.Tasks;
using System.Web;

namespace SharePointPnP.PowerShell.Commands.Admin
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPTenantId")]
[CmdletHelp(@"Returns the Tenant ID",
Expand Down
Loading

0 comments on commit cece22c

Please sign in to comment.