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

Commit e893c83

Browse files
Merge pull request #441 from erwinvanhunen/dev
September 2016 intermediate release
2 parents 8f8b00c + 83d9a6d commit e893c83

12 files changed

+251
-2
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

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.7.1609.1")]
48-
[assembly: AssemblyFileVersion("2.7.1609.1")]
47+
[assembly: AssemblyVersion("2.7.1609.2")]
48+
[assembly: AssemblyFileVersion("2.7.1609.2")]
4949
[assembly: InternalsVisibleTo("SharePointPnP.PowerShell.Tests")]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#Get-SPORequestAccessEmails
2+
Returns the request access e-mail addresses
3+
##Syntax
4+
```powershell
5+
Get-SPORequestAccessEmails [-Web <WebPipeBind>]
6+
```
7+
8+
9+
##Parameters
10+
Parameter|Type|Required|Description
11+
---------|----|--------|-----------
12+
|Web|WebPipeBind|False|The web to apply the command to. Omit this parameter to use the current web.|
13+
##Examples
14+
15+
###Example 1
16+
```powershell
17+
PS:> Get-SPORequestAccessEmails
18+
```
19+
This will return all the request access e-mail addresses for the current web

Documentation/GetSPOTenantSite.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#Get-SPOTenantSite
2+
Office365 only: Uses the tenant API to retrieve site information.
3+
##Syntax
4+
```powershell
5+
Get-SPOTenantSite [-Detailed [<SwitchParameter>]] [-IncludeOneDriveSites [<SwitchParameter>]] [-Force [<SwitchParameter>]] [-Url <String>]
6+
```
7+
8+
9+
##Parameters
10+
Parameter|Type|Required|Description
11+
---------|----|--------|-----------
12+
|Detailed|SwitchParameter|False|By default, not all returned attributes are populated. This switch populates all attributes. It can take several seconds to run. Without this, some attributes will show default values that may not be correct.|
13+
|Force|SwitchParameter|False|When the switch IncludeOneDriveSites is used, this switch ignores the question shown that the command can take a long time to execute|
14+
|IncludeOneDriveSites|SwitchParameter|False|By default, the OneDrives are not returned. This switch includes all OneDrives. This can take some extra time to run|
15+
|Url|String|False|The URL of the site|
16+
##Examples
17+
18+
###Example 1
19+
```powershell
20+
PS:> Get-SPOTenantSite
21+
```
22+
Returns all site collections
23+
24+
###Example 2
25+
```powershell
26+
PS:> Get-SPOTenantSite -Url http://tenant.sharepoint.com/sites/projects
27+
```
28+
Returns information about the project site.
29+
30+
###Example 3
31+
```powershell
32+
PS:> Get-SPOTenantSite -Detailed
33+
```
34+
Returns all sites with the full details of these sites
35+
36+
###Example 4
37+
```powershell
38+
PS:> Get-SPOTenantSite -IncludeOneDriveSites
39+
```
40+
Returns all sites including all OneDrive 4 Business sites
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#Get-SPOWebTemplates
2+
Office365 only: Returns the available web templates.
3+
##Syntax
4+
```powershell
5+
Get-SPOWebTemplates [-Lcid <UInt32>] [-CompatibilityLevel <Int32>]
6+
```
7+
8+
9+
##Parameters
10+
Parameter|Type|Required|Description
11+
---------|----|--------|-----------
12+
|CompatibilityLevel|Int32|False|The version of SharePoint|
13+
|Lcid|UInt32|False|The language ID. For instance: 1033 for English|
14+
##Examples
15+
16+
###Example 1
17+
```powershell
18+
PS:> Get-SPOWebTemplates
19+
```
20+
21+
22+
###Example 2
23+
```powershell
24+
PS:> Get-SPOWebTemplates -LCID 1033
25+
```
26+
Returns all webtemplates for the Locale with ID 1033 (English)
27+
28+
###Example 3
29+
```powershell
30+
PS:> Get-SPOWebTemplates -CompatibilityLevel 15
31+
```
32+
Returns all webtemplates for the compatibility level 15
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#New-SPOPersonalSite
2+
Office365 only: Creates a personal / OneDrive For Business site
3+
##Syntax
4+
```powershell
5+
New-SPOPersonalSite -Email <String[]>
6+
```
7+
8+
9+
##Parameters
10+
Parameter|Type|Required|Description
11+
---------|----|--------|-----------
12+
|Email|String[]|True|The UserPrincipalName (UPN) of the user|
13+
##Examples
14+
15+
###Example 1
16+
```powershell
17+
18+
PS:> New-SPOPersonalSite -Email $users
19+
```
20+
Creates a personal / OneDrive For Business site for the 2 users in the variable $users
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#Remove-SPOTenantSite
2+
Office365 only: Removes a site collection from the current tenant
3+
##Syntax
4+
```powershell
5+
Remove-SPOTenantSite [-SkipRecycleBin [<SwitchParameter>]] [-FromRecycleBin [<SwitchParameter>]] [-Force [<SwitchParameter>]] -Url <String>
6+
```
7+
8+
9+
##Parameters
10+
Parameter|Type|Required|Description
11+
---------|----|--------|-----------
12+
|Force|SwitchParameter|False|Do not ask for confirmation.|
13+
|FromRecycleBin|SwitchParameter|False|If specified, will search for the site in the Recycle Bin and remove it from there.|
14+
|SkipRecycleBin|SwitchParameter|False|Do not add to the trashcan when selected.|
15+
|Url|String|True|Specifies the full URL of the site collection that needs to be deleted|
16+
##Examples
17+
18+
###Example 1
19+
```powershell
20+
PS:> Remove-SPOTenantSite -Url https://tenant.sharepoint.com/sites/contoso
21+
```
22+
This will remove the site collection with the url 'https://tenant.sharepoint.com/sites/contoso' and put it in the recycle bin.
23+
24+
###Example 2
25+
```powershell
26+
PS:> Remove-SPOTenantSite -Url https://tenant.sharepoint.com/sites/contoso -Force -SkipRecycleBin
27+
```
28+
This will remove the site collection with the url 'https://tenant.sharepoint.com/sites/contoso' with force and it will skip the recycle bin.
29+
30+
###Example 3
31+
```powershell
32+
PS:> Remove-SPOTenantSite -Url https://tenant.sharepoint.com/sites/contoso -FromRecycleBin
33+
```
34+
This will remove the site collection with the url 'https://tenant.sharepoint.com/sites/contoso' from the recycle bin.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#Set-SPORequestAccessEmails
2+
Sets Request Access Emails on a web
3+
##Syntax
4+
```powershell
5+
Set-SPORequestAccessEmails -Emails <String[]> [-Web <WebPipeBind>]
6+
```
7+
8+
9+
##Parameters
10+
Parameter|Type|Required|Description
11+
---------|----|--------|-----------
12+
|Emails|String[]|True|Email address(es) to set the RequestAccessEmails to|
13+
|Web|WebPipeBind|False|The web to apply the command to. Omit this parameter to use the current web.|
14+
##Examples
15+
16+
###Example 1
17+
```powershell
18+
PS:> Set-SPORequestAccessEmails -Emails [email protected]
19+
```
20+
This will update the request access e-mail address
21+
22+
###Example 2
23+
```powershell
24+
PS:> Set-SPORequestAccessEmails -Emails @( [email protected]; [email protected] )
25+
```
26+
This will update multiple request access e-mail addresses

0 commit comments

Comments
 (0)