You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
###Notice: many issues / bugs reported are actually related to the PnP Core Library which is used behind the scenes. Consider carefully where to report an issue:###
2
2
3
3
1.**Are you using ```Apply-SPOProvisioningTemplate``` or ```Get-SPOProvisioningTemplate```**? The issue is most likely related to the Provisioning Engine. The Provisioning engine is _not_ located in the PowerShell repo. Please report the issue here: https://github.com/officedev/PnP-Sites-Core/issues.
4
-
2.**Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it's the code of the cmdlet that is causing the issue?** Then please continue reporting the issue in this repo.
4
+
2.**Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue?** Then please continue reporting the issue in this repo.
5
5
3.**If you think that the functionality might be related to the underlying libraries that the cmdlet is calling** (We realize that that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/OfficeDev/PnP-PowerShell/tree/master/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/officedev/PnP-Sites-Core/issues
[CmdletExample(Code=@"PS:> Get-SPOTenantSite",Remarks="Returns all site collections",SortOrder=1)]
20
-
[CmdletExample(Code=@"PS:> Get-SPOTenantSite -Url http://tenant.sharepoint.com/sites/projects",Remarks="Returns information about the project site.",SortOrder=2)]
21
-
[CmdletExample(Code=@"PS:> Get-SPOTenantSite -Detailed",Remarks="Returns all sites with the full details of these sites",SortOrder=3)]
22
-
[CmdletExample(Code=@"PS:> Get-SPOTenantSite -IncludeOneDriveSites",Remarks="Returns all sites including all OneDrive 4 Business sites",SortOrder=4)]
21
+
[CmdletExample(Code=@"PS:> Get-PnPTenantSite",Remarks="Returns all site collections",SortOrder=1)]
22
+
[CmdletExample(Code=@"PS:> Get-PnPTenantSite -Url http://tenant.sharepoint.com/sites/projects",Remarks="Returns information about the project site.",SortOrder=2)]
23
+
[CmdletExample(Code=@"PS:> Get-PnPTenantSite -Detailed",Remarks="Returns all sites with the full details of these sites",SortOrder=3)]
24
+
[CmdletExample(Code=@"PS:> Get-PnPTenantSite -IncludeOneDriveSites",Remarks="Returns all sites including all OneDrive 4 Business sites",SortOrder=4)]
23
25
publicclassGetTenantSite:SPOAdminCmdlet
24
26
{
25
27
[Parameter(Mandatory=false,HelpMessage="The URL of the site",Position=0,ValueFromPipeline=true)]
[CmdletExample(Code=@"PS:> Get-SPOWebTemplates -LCID 1033",Remarks=@"Returns all webtemplates for the Locale with ID 1033 (English)",SortOrder=2)]
16
-
[CmdletExample(Code=@"PS:> Get-SPOWebTemplates -CompatibilityLevel 15",Remarks=@"Returns all webtemplates for the compatibility level 15",SortOrder=2)]
[CmdletExample(Code=@"PS:> Get-PnPWebTemplates -LCID 1033",Remarks=@"Returns all webtemplates for the Locale with ID 1033 (English)",SortOrder=2)]
18
+
[CmdletExample(Code=@"PS:> Get-PnPWebTemplates -CompatibilityLevel 15",Remarks=@"Returns all webtemplates for the compatibility level 15",SortOrder=2)]
Copy file name to clipboardExpand all lines: Commands/Admin/NewTenantSite.cs
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,14 @@
6
6
7
7
namespaceSharePointPnP.PowerShell.Commands
8
8
{
9
-
[Cmdlet(VerbsCommon.New,"SPOTenantSite")]
9
+
[Cmdlet(VerbsCommon.New,"PnPTenantSite")]
10
+
[CmdletAlias("New-SPOTenantSite")]
10
11
[CmdletHelp("Creates a new site collection for the current tenant",
11
-
DetailedDescription=@"The New-SPOTenantSite cmdlet creates a new site collection for the current company. However, creating a new SharePoint
12
+
DetailedDescription=@"The New-PnPTenantSite cmdlet creates a new site collection for the current company. However, creating a new SharePoint
12
13
Online site collection fails if a deleted site with the same URL exists in the Recycle Bin. If you want to use this command for an on-premises farm, please refer to http://blogs.msdn.com/b/vesku/archive/2014/06/09/provisioning-site-collections-using-sp-app-model-in-on-premises-with-just-csom.aspx ",
Remarks=@"This will add a site collection with the title 'Contoso', the url 'https://tenant.sharepoint.com/sites/contoso', the timezone 'UTC+01:00' and the owner '[email protected]'",SortOrder=1)]
17
18
[CmdletRelatedLink(
18
19
Text="Locale IDs",
@@ -40,10 +41,10 @@ public class NewTenantSite : SPOAdminCmdlet
40
41
[Parameter(Mandatory=false,HelpMessage=@"Specifies the language of this site collection. For more information, see Locale IDs Assigned by Microsoft: http://go.microsoft.com/fwlink/p/?LinkId=242911Id=242911.")]
41
42
publicuintLcid=1033;
42
43
43
-
[Parameter(Mandatory=false,HelpMessage=@"Specifies the site collection template type. Use the Get-SPOWebTemplate cmdlet to get the list of valid templates. If no template is specified, one can be added later. The Template and LocaleId parameters must be a valid combination as returned from the Get-SPOnlineWebTemplate cmdlet.")]
44
+
[Parameter(Mandatory=false,HelpMessage=@"Specifies the site collection template type. Use the Get-PnPWebTemplate cmdlet to get the list of valid templates. If no template is specified, one can be added later. The Template and LocaleId parameters must be a valid combination as returned from the Get-PnPWebTemplates cmdlet.")]
44
45
publicstringTemplate="STS#0";
45
46
46
-
[Parameter(Mandatory=true,HelpMessage="Use Get-SPOTimeZoneId to retrieve possible timezone values")]
47
+
[Parameter(Mandatory=true,HelpMessage="Use Get-PnPTimeZoneId to retrieve possible timezone values")]
47
48
publicintTimeZone;
48
49
49
50
[Parameter(Mandatory=false,HelpMessage=@"Specifies the quota for this site collection in Sandboxed Solutions units. This value must not exceed the company's aggregate available Sandboxed Solutions quota. The default value is 0. For more information, see Resource Usage Limits on Sandboxed Solutions in SharePoint 2010 : http://msdn.microsoft.com/en-us/library/gg615462.aspx.")]
Remarks=@"This will remove the site collection with the url 'https://tenant.sharepoint.com/sites/contoso' and put it in the recycle bin.",SortOrder=1)]
Remarks=@"This will remove the site collection with the url 'https://tenant.sharepoint.com/sites/contoso' with force and it will skip the recycle bin.",SortOrder=2)]
Remarks=@"This will set the title of the site collection with the URL 'https://contoso.sharepoint.com' to 'Contoso Website' and disable sharing on this site collection.",SortOrder=1)]
Remarks=@"This will set the title of the site collection with the URL 'https://contoso.sharepoint.com' to 'Contoso Website', set the storage warning level to 8GB and set the storage maximum level to 10GB.",SortOrder=2)]
[CmdletExample(Code=@"PS:> Get-SPOAppInstance",Remarks=@"This will return all addin instances in the site.",SortOrder=1)]
15
-
[CmdletExample(Code=@"PS:> Get-SPOAppInstance -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe",Remarks=@"This will return an addin instance with the specified id.",SortOrder=2)]
15
+
[CmdletExample(Code=@"PS:> Get-PnPAppInstance",Remarks=@"This will return all addin instances in the site.",SortOrder=1)]
16
+
[CmdletExample(Code=@"PS:> Get-PnPAppInstance -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe",Remarks=@"This will return an addin instance with the specified id.",SortOrder=2)]
16
17
publicclassGetAppInstance:SPOWebCmdlet
17
18
{
18
19
[Parameter(Mandatory=false,Position=0,ValueFromPipeline=true,HelpMessage="Specifies the Id of the App Instance")]
0 commit comments