Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
78ddede
Implementing PnPWebRetrievalsCmdlet
KoenZomers Sep 3, 2017
03b71bc
Added support for the recursion
KoenZomers Sep 4, 2017
ce36523
Changed inheritance to PnPWebRetrievalsCmdlet so it also supports the…
KoenZomers Sep 4, 2017
ebcb648
Measure response time enhancement and documentation
Dec 10, 2017
02331ac
Updated documentation for Set-PnPClientSideWebPart, changed Get-PnPCl…
thllbrg Jan 4, 2018
f1bf60b
enhance NavigationNode cmdlets
Jan 12, 2018
ba0081f
Working version
stevebeauge Jan 26, 2018
dc9daaa
bugfix and proper value handling with complex types
stevebeauge Jan 26, 2018
8ae5e89
removed list tokenization due to some issues
stevebeauge Jan 26, 2018
8e84fde
NavigationNode: fix typo in documentation
Jan 29, 2018
f9c44ed
Minor update to avoid unused parameter
stevebeauge Feb 2, 2018
9148cbc
New Command
spjeff Feb 4, 2018
4c33687
Flags
spjeff Feb 4, 2018
0892b6d
Documentation updates
erwinvanhunen Feb 5, 2018
67393c6
removed MSDN folder
erwinvanhunen Feb 5, 2018
837698c
Merge pull request #1353 from erwinvanhunen/dev
erwinvanhunen Feb 5, 2018
d7c9ce6
documentation updates
erwinvanhunen Feb 5, 2018
a5a6419
Merge pull request #1354 from erwinvanhunen/dev
erwinvanhunen Feb 5, 2018
aa659c5
fixes #1343
lkrn Feb 7, 2018
309c0a6
Changed changelog format
erwinvanhunen Feb 7, 2018
f72c3cb
updated changelog format
erwinvanhunen Feb 7, 2018
f6dc282
updated
erwinvanhunen Feb 7, 2018
e26fbdc
updated
erwinvanhunen Feb 7, 2018
ea69bfc
Updated Remove-PnPNavigationNode, Added Get-PnPNavigationNode
erwinvanhunen Feb 7, 2018
aad5db6
Merge branch 'dev' of https://github.com/sharepoint/pnp-powershell in…
erwinvanhunen Feb 7, 2018
398a9ec
Merge pull request #1358 from erwinvanhunen/dev
erwinvanhunen Feb 7, 2018
7c1a888
Implement groupify using tenant API + added switch for the KeepOldHom…
jansenbe Feb 8, 2018
f298ad6
Added an option to set content approval for list
Feb 9, 2018
1b48954
Accessing some SP lists return Base Type not initialized exception
Feb 9, 2018
d8c7f66
Added approval switch
Feb 9, 2018
aae0c85
Merge branch 'dev' into feature/improved-add-pnpdatarowstoprovisionin…
stevebeauge Feb 9, 2018
d58c15c
Added EnableAttachment prop for Set-PnPList.
Laskewitz Feb 10, 2018
9761280
Implemented .NET Standard 2.0 / Cross-Platform support
erwinvanhunen Feb 15, 2018
c1c7f88
Merge pull request #1369 from erwinvanhunen/dev
erwinvanhunen Feb 15, 2018
2d6853c
Merge pull request #1357 from lkrn/issue-1343
erwinvanhunen Feb 15, 2018
7dabed3
Merge pull request #1338 from solutions-pour-sharepoint/feature/impro…
erwinvanhunen Feb 15, 2018
ab574a8
Merge branch 'dev' of https://github.com/OfficeDev/PnP-PowerShell int…
jansenbe Feb 15, 2018
9db7875
Updated Class Name
spjeff Feb 15, 2018
e038119
Merge pull request #1317 from thlbrg/dev
erwinvanhunen Feb 15, 2018
231bc35
documentation updates
erwinvanhunen Feb 15, 2018
49f27cc
Merge pull request #1371 from erwinvanhunen/dev
erwinvanhunen Feb 15, 2018
0312962
Merge pull request #1359 from jansenbe/dev
erwinvanhunen Feb 15, 2018
be2d75f
Merge pull request #1350 from spjeff/RoleDefinition
erwinvanhunen Feb 15, 2018
c91a8b1
Fixed RoleDefinition cmdlets
erwinvanhunen Feb 15, 2018
dc8731f
Merge pull request #1372 from erwinvanhunen/dev
erwinvanhunen Feb 15, 2018
cf2dc25
merged conflicts
erwinvanhunen Feb 15, 2018
a91a1f5
merged conflicts
erwinvanhunen Feb 15, 2018
9f764ad
Merge pull request #1373 from erwinvanhunen/PR1361
erwinvanhunen Feb 15, 2018
7d87f1d
merged conflicts
erwinvanhunen Feb 15, 2018
f2763cf
Manual merge of PR1328
erwinvanhunen Feb 15, 2018
468fe8e
updated changelog
erwinvanhunen Feb 15, 2018
3104d15
changelog update
erwinvanhunen Feb 15, 2018
ee632bb
Merge pull request #1375 from erwinvanhunen/PR1328
erwinvanhunen Feb 15, 2018
de104d7
merged conflicts
erwinvanhunen Feb 15, 2018
1bedab6
manual merge of PR1282
erwinvanhunen Feb 15, 2018
a112c00
Merge pull request #1376 from erwinvanhunen/PR1282
erwinvanhunen Feb 15, 2018
740837e
merged conflict
erwinvanhunen Feb 15, 2018
b5a7245
fixed typo
erwinvanhunen Feb 15, 2018
1304529
Merge pull request #1377 from erwinvanhunen/PR1045
erwinvanhunen Feb 15, 2018
ec3197c
merged conflicts
erwinvanhunen Feb 15, 2018
2aab8da
Merge pull request #1378 from erwinvanhunen/PR1365
erwinvanhunen Feb 15, 2018
53c4813
Added admin cmdlets
erwinvanhunen Feb 18, 2018
69424b9
Removed for OnPremises
erwinvanhunen Feb 18, 2018
68488d0
Added tenant admin cmdlets
erwinvanhunen Feb 18, 2018
a005421
Added admin cmdlets
erwinvanhunen Feb 18, 2018
d657606
Updated documentation
erwinvanhunen Feb 18, 2018
c37276f
Merge pull request #1380 from erwinvanhunen/dev
erwinvanhunen Feb 18, 2018
798a76d
Added DeviceLogin option
erwinvanhunen Feb 19, 2018
2cd65c3
Added support to retrieve app by title
erwinvanhunen Feb 20, 2018
3b110db
Merge pull request #1382 from erwinvanhunen/dev
erwinvanhunen Feb 20, 2018
4ae17f0
Fixed paging bug which had not been properly tested.
wobba Feb 20, 2018
0b22685
Made Force parameter obsolete
wobba Feb 20, 2018
20d1c86
Fixes issue #1384
erwinvanhunen Feb 20, 2018
a0f88eb
Merge pull request #1386 from erwinvanhunen/dev
erwinvanhunen Feb 20, 2018
03b01d4
Updated documentation to fix #1385
erwinvanhunen Feb 20, 2018
dcfa773
.NET Standard support for credential manager and Keychain
erwinvanhunen Feb 20, 2018
d321979
Merge pull request #1388 from erwinvanhunen/dev
erwinvanhunen Feb 20, 2018
6e3bbed
Merge pull request #1387 from wobba/GetAllSites
erwinvanhunen Feb 20, 2018
3f49ff8
Changed parameter obsoletion and small typo fixes
erwinvanhunen Feb 20, 2018
0fb5384
Merge pull request #1389 from erwinvanhunen/dev
erwinvanhunen Feb 20, 2018
23173cf
Added AddStoredCredential cmdlet
erwinvanhunen Feb 21, 2018
3cd77e5
Merge pull request #1390 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
7b7cfd3
Fixed string formatting issue
erwinvanhunen Feb 21, 2018
08e0052
Merge pull request #1391 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
a7480dc
Updated Credential Management
erwinvanhunen Feb 21, 2018
8aafed4
Merge pull request #1392 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
54900ae
Fixes issue as mentioned in #1339 which occurs when trying to set mul…
erwinvanhunen Feb 21, 2018
b957c9f
Merge pull request #1394 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
e28affc
updated to hide for un-prem
erwinvanhunen Feb 21, 2018
7d0cc92
Addresses issue #1374
erwinvanhunen Feb 21, 2018
54e7a09
Updated documentation
erwinvanhunen Feb 21, 2018
74ed346
Merge pull request #1396 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
51c34ff
Added Generate-PnPAdalCertificate cmdlet
wobba Feb 21, 2018
8d07eb5
updated Set-PnPTheme following up issue #1363
erwinvanhunen Feb 21, 2018
81dfc3f
updated changelog
erwinvanhunen Feb 21, 2018
f6c490d
Merge pull request #1398 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
95d8377
Merge branch 'dev' of https://github.com/OfficeDev/PnP-PowerShell int…
jansenbe Feb 21, 2018
e82e767
New Test-PnPOffice365GroupAlias cmdlet
jansenbe Feb 21, 2018
a6fb29f
updated changelog
erwinvanhunen Feb 21, 2018
c4c2607
Merge pull request #1399 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
5638bae
fixed
erwinvanhunen Feb 21, 2018
29c8a2d
Merge pull request #1400 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
04646dc
Updated to not additionally increase version when uploading file and …
erwinvanhunen Feb 21, 2018
d378a71
Merge pull request #1401 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
f1d2120
Fixes issue #1362
erwinvanhunen Feb 21, 2018
37cf6f7
Merge pull request #1402 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
617b3a5
Added connection method property
erwinvanhunen Feb 21, 2018
6f9d7b1
Merge pull request #1403 from erwinvanhunen/dev
erwinvanhunen Feb 21, 2018
212f554
Updated warning message
erwinvanhunen Feb 21, 2018
483687a
Merge pull request #1404 from erwinvanhunen/dev
erwinvanhunen Feb 22, 2018
052c629
Connect-PnPOnline: add additional HighTrustCertificate parameters
Feb 22, 2018
f869969
Renamed new cmdlet + clarification in help + corrected classname
jansenbe Feb 22, 2018
00f62ae
Refactored PEM building.
wobba Feb 22, 2018
ea6348d
Renamed generate cmdlet
wobba Feb 22, 2018
9d064d8
updated changelog
erwinvanhunen Feb 22, 2018
6a024e8
Updated compiler directives
erwinvanhunen Feb 22, 2018
9537c65
Updated method call and fixed documentation
erwinvanhunen Feb 22, 2018
5c34a19
cleanup
erwinvanhunen Feb 22, 2018
74ee19d
Merge pull request #1410 from erwinvanhunen/dev
erwinvanhunen Feb 22, 2018
2b7e543
cleanup
erwinvanhunen Feb 22, 2018
9a67228
Merge pull request #1411 from erwinvanhunen/dev
erwinvanhunen Feb 22, 2018
7e5926e
Added PEM prefix to parameters to better clarify the usage
wobba Feb 23, 2018
c55b7c2
Made CertificatePassword non-required in case you have a self-signed …
wobba Feb 23, 2018
a724be4
Added sample documentation for using Generate-PnPAzureCertificate and…
wobba Feb 23, 2018
8c05170
Merge with dev
wobba Feb 23, 2018
0581b83
Added missing #endif due to merge
wobba Feb 23, 2018
6476701
Merge pull request #1414 from wobba/GeneratePNPAdalCertificate
wobba Feb 23, 2018
95fe6c4
Deprecated GetAzureADManifestKeyCredentials as Get-PnPAzureCertificat…
wobba Feb 23, 2018
19d83c4
Split Generate-PnPAzureCertificate into New and Get commands.
wobba Feb 23, 2018
352ee47
Updated sample documentation to match renaming of cmdlets.
wobba Feb 23, 2018
24d842f
cleanup
erwinvanhunen Feb 23, 2018
d1a9bc9
merged conflicts
erwinvanhunen Feb 23, 2018
26682d4
Merge pull request #1415 from erwinvanhunen/dev
erwinvanhunen Feb 23, 2018
0506b8e
merged conflicts
erwinvanhunen Feb 23, 2018
5c2e4da
fixed complicaton issue
erwinvanhunen Feb 23, 2018
8efa099
Updated changelog with certificate cmdlets.
wobba Feb 23, 2018
c5a8ef7
Merge branch 'dev' of https://github.com/OfficeDev/PnP-PowerShell int…
wobba Feb 23, 2018
a9ad865
removed documentation
erwinvanhunen Feb 23, 2018
98858b2
renamed cmdlets and added aliases
erwinvanhunen Feb 23, 2018
08a5c5c
Project cleanup
erwinvanhunen Feb 23, 2018
89cf738
Merge pull request #1416 from erwinvanhunen/dev
erwinvanhunen Feb 23, 2018
e9e9ab9
Added Invoke-PnPSiteDesign cmdlet
erwinvanhunen Feb 23, 2018
430a2c2
Merge pull request #1417 from erwinvanhunen/dev
erwinvanhunen Feb 23, 2018
4c709ad
Merge branch 'dev' into PR1405
erwinvanhunen Feb 24, 2018
0fce056
Merge pull request #1418 from erwinvanhunen/PR1405
erwinvanhunen Feb 24, 2018
9d22ba8
Updated to handle non existing CT
erwinvanhunen Feb 24, 2018
4e1b7f7
Removed until API call is available
erwinvanhunen Feb 24, 2018
b1f6d5d
File generation update
erwinvanhunen Feb 24, 2018
a68263d
Updated
erwinvanhunen Feb 24, 2018
6787be1
Merge pull request #1419 from erwinvanhunen/dev
erwinvanhunen Feb 24, 2018
eb6b802
renamed solution, following Sites-Core .NET Standard project
erwinvanhunen Feb 25, 2018
1fadc3e
enabled for .NET Standard
erwinvanhunen Feb 25, 2018
5e62e05
Documentation update
erwinvanhunen Feb 25, 2018
5f7c65e
fixed help generation
erwinvanhunen Feb 25, 2018
49aab79
Renamed project
erwinvanhunen Feb 25, 2018
03fe7d5
Merge pull request #1420 from erwinvanhunen/dev
erwinvanhunen Feb 25, 2018
7731124
Updated documentation, referring to PR #1422 and PR #1433
erwinvanhunen Feb 26, 2018
a947094
Merge pull request #1424 from erwinvanhunen/dev
erwinvanhunen Feb 26, 2018
7e8073d
updated contributing
erwinvanhunen Feb 26, 2018
0efa87d
updated changelog
erwinvanhunen Feb 26, 2018
16ffd84
Merge pull request #1425 from erwinvanhunen/dev
erwinvanhunen Feb 26, 2018
5bade76
Update PULL_REQUEST_TEMPLATE.md
erwinvanhunen Feb 26, 2018
c23a732
Update PULL_REQUEST_TEMPLATE.md
erwinvanhunen Feb 26, 2018
1187a70
updated
erwinvanhunen Feb 26, 2018
6096fd1
updated
erwinvanhunen Feb 26, 2018
b8650ec
Merge pull request #1426 from erwinvanhunen/dev
erwinvanhunen Feb 26, 2018
fab9130
Updated pipebind handling
erwinvanhunen Feb 26, 2018
e1ea62c
Merge pull request #1427 from erwinvanhunen/dev
erwinvanhunen Feb 26, 2018
0add9c3
Updated Graph connectivity
erwinvanhunen Feb 26, 2018
1c5599d
Added support of Graph login to PnP O365Management Shell app
erwinvanhunen Feb 27, 2018
ee7a4de
updated changelog
erwinvanhunen Feb 27, 2018
a314bdd
Removed redundant cmdlet
erwinvanhunen Feb 27, 2018
524c4ed
Removed unneeded classes
erwinvanhunen Feb 27, 2018
d635acc
Merge pull request #1428 from erwinvanhunen/dev
erwinvanhunen Feb 27, 2018
2382d88
fixed compilation issue
erwinvanhunen Feb 27, 2018
d94e449
Added Set-PnPWebTheme cmdlet
erwinvanhunen Feb 27, 2018
e9df98d
Updated documentation
erwinvanhunen Feb 27, 2018
1c6bd94
Merge pull request #1429 from erwinvanhunen/dev
erwinvanhunen Feb 27, 2018
71ca5ec
Updated Set-PnPClientSidePage to support setting the page title
jansenbe Feb 28, 2018
1d5f787
updated icon
erwinvanhunen Feb 28, 2018
72ccfc3
Merge pull request #1430 from erwinvanhunen/dev
erwinvanhunen Feb 28, 2018
b589427
Updated analyzer
erwinvanhunen Feb 28, 2018
84658ec
updated analyzer
erwinvanhunen Feb 28, 2018
92daac1
updated changelog
erwinvanhunen Feb 28, 2018
1fb8cc4
merged conflict
erwinvanhunen Feb 28, 2018
0670b29
Merge pull request #1431 from erwinvanhunen/dev
erwinvanhunen Feb 28, 2018
abcba28
Removed for on-prem build
erwinvanhunen Feb 28, 2018
b08d3dd
Updated documentation
erwinvanhunen Feb 28, 2018
cfe4073
Marked old appinstance cmdlets as deprecated in favor of ALM api cmdlets
erwinvanhunen Feb 28, 2018
3e840c0
updated changelog
erwinvanhunen Mar 1, 2018
5e34e6d
Merge pull request #1433 from erwinvanhunen/dev
erwinvanhunen Mar 1, 2018
187c520
Updated documentation
erwinvanhunen Mar 1, 2018
2bbb43a
added more descriptive error if file not found
erwinvanhunen Mar 1, 2018
fe246cb
fix auth issue with .NET Standard build
erwinvanhunen Mar 2, 2018
d59de20
Merge pull request #1435 from erwinvanhunen/dev
erwinvanhunen Mar 2, 2018
36c3082
Added setting of environment variables
erwinvanhunen Mar 2, 2018
1db2f49
update variablename
erwinvanhunen Mar 2, 2018
6d8d3ca
Merge pull request #1436 from erwinvanhunen/dev
erwinvanhunen Mar 2, 2018
57388a7
Updated graph cmdlets
erwinvanhunen Mar 5, 2018
f4cc68d
Merge pull request #1439 from erwinvanhunen/dev
erwinvanhunen Mar 5, 2018
288c4b9
Added ability to add calculated fields as referenced in issue #1412
erwinvanhunen Mar 5, 2018
d95285f
Merge pull request #1440 from erwinvanhunen/dev
erwinvanhunen Mar 5, 2018
96528f3
updated changelog
erwinvanhunen Mar 6, 2018
baece1d
Merge pull request #1444 from erwinvanhunen/dev
erwinvanhunen Mar 6, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
4 changes: 4 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Before creating a pull request, make sure that you have read the contribution file located at

https://github.com/SharePoint/PnP-PowerShell/blob/dev/CONTRIBUTING.md

## Type ##
- [ ] Bug Fix
- [ ] New Feature
Expand Down
98 changes: 91 additions & 7 deletions changelog.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,94 @@
# SharePointPnP.PowerShell Changelog #

**2018-02-02**
* Added Set-PnPSiteDesign and Set-PnPSiteScript cmdlets

**2018-01-05**
* Added Get-PnPTenantAppCatalogUrl, Start-PnPWorkflowInstance, Get-PnPWorkflowInstance
# SharePointPnP.PowerShell Changelog
*Please do not commit changes to this file, it is maintained by the repo owner.*

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [2.24.1803.0] - 2018-03-06
### Added
- Added Get-PnPTenant cmdlet
- Added Set-PnPTenant cmdlet
- Added Set-PnPWebTheme cmdlet
- Added Invoke-PnPSiteDesign cmdlet
- Added Read-PnPProvisioningTemplate cmdlet [Rename: see deprecated section]
- Added Invoke-PnPQuery cmdlet [Rename: see deprecated section]
- Added Resolve-PnPFolder cmdlet [Rename: see deprecated section]
- Added New-PnPAzureCertificate cmdlet
- Added Get-PnPAzureCertificate cmdlet
- Added Test-PnPOffice365GroupAliasIsUsed cmdlet
- Added Remove-PnPStoredCredential
- Added Add-PnPStoredCredential
- Added Get-PnPHubSite cmdlet
- Added Set-PnPHubSite cmdlet
- Added Grant-PnPHubSiteRights cmdlet
- Added Register-PnPHubSite cmdlet
- Added Unregister-PnPHubSite cmdlet
- Added Connect-PnPHubSite cmdlet
- Added Disconnect-PnPHubSite cmdlet
- Added Add-PnPTenantTheme cmdlet
- Added Get-PnPTenantTheme cmdlet
- Added Remove-PnPTenantTheme cmdlet
- Added Set-PnPTenantCdnEnabled cmdlet
- Added Get-PnPTenantCdnEnabled cmdlet
- Added Get-PnPTenantCdnOrigin cmdlet
- Added Add-PnPTenantCdnOrigin cmdlet
- Added Remove-PnPTenantCdnOrigin cmdlet
- Added Get-PnPTenantCdnPolicies cmdlet
- Added Set-PnPTenantCdnPolicy cmdlet
- Added Add-PnPSiteCollectionAppCatalog cmdlet
- Added Remove-PnPSiteCollectionAppCatalog cmdlet
- Added Get-PnPNavigationNode cmdlet
- Added Get-PnPRoleDefinition cmdlet
- Added Add-PnPRoleDefinition cmdlet
- Added Remove-PnPRoleDefinition cmdlet
- Implemented .NET 2.0 Standard project to allow for cross-platform use with PowerShell 6.0

### Changed
- Added "Formula" dynamic parameter to Add-PnPField to allow creating calculated fields.
- Updated Set-PnPClientSidePage to support setting the page title
- Added -Graph [and -LaunchBrowser] option to authenticate with Connect-PnPOnline to the Graph using the PnP O365 Management Shell Azure AD Application
- Updated the UnifiedGroup cmdlets to also take an Alias of group as a value for the -Identity parameter
- Minor documentations updates [thechriskent]
- Updated Connect-PnPOnline to support connecting using PEM encoded certificate strings
- Updated Connect-PnPOnline for On-Premises to allow for additional HighTrustCertificate parameters [fowl2]
- Added -EnableAttachment parameter for Set-PnPList [Laskewitz]
- Added -Approve parameter for Set-PnPFileCheckedIn [Aproxmiation]
- Added -EnableModeration for Set-PnPList [Apromixation]
- Fixed issue where it was not possible to use New-PnPSite when using Connect-PnPOnline with the -UseWebLogin parameter
- Fixed issue with Copy-PnPFile when copying to a location within the current web where metadata was not being retained
- Fixed issue with Add-PnPFile when a new file was uploaded and using the cmdlet also field values where set, the version would increase to 2.0 instead of the expected 1.0
- Fixed issues with Set-PnPTheme cmdlet not accepting site relative urls
- Move-PnPFolder now returns the folder that has been moved
- Updated Get-PnPStoredCredentials to support .NET Standard
- Updated/fixed documentation on various cmdlets
- Fixed issue with Get-PnPTenantSite not returning all sites in large tenants
- Added -PnPO365ManagementShell [and -LaunchBrowser] login option to Connect-PnPOnline
- Changed changelog format
- Updated Remove-PnPNavigationNode cmdlet to support removal by Id
- Updated Remove-PnPNavigationNode cmdlet to support the -All parameter
- Updated Set-PnPList cmdlet to change moderation setting
- Updated Set-PnPFileCheckedIn to approve the file

### Deprecated
- [SharePoint Online Only] Deprecated Get-PnPAppInstance, Import-PnPAppPackage, Uninstall-PnPAppPackage. Use Add-PnPApp, Install-PnPApp, Publish-PnPApp, Uninstall-PnPApp, Remove-PnPApp instead where applicable.
- Deprecated Load-PnPProvisioningTemplate, renaming it to Read-PnPProvisioningTemplate which follows the PowerShell approved verb standard. Load-PnPProvisioningTemplate has been added as an alias for Read-PnPProvisioningTemplate.
- Deprecated Execute-PnPQuery, renaming it to Invoke-PnPQuery which follows the PowerShell approved verb standard. Execute-PnPQuery has been added as an alias for Invoke-PnPQuery.
- Deprecated Ensure-PnPFolder, moving functionality to Resolve-PnPFolder which follows the PowerShell approved verb standard. Ensure-PnPFolder has been added as an alias for Resolve-PnPFolder.
- Documentation/Markdown generation has been removed from build, now points to https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sharepoint-ps
- Deprecated Remove-PnPNavigationNode -Title and -Header parameters. Use the Identity parameter instead.
- Marked -WebTemplate parameter on Get-PnPTenantSite as obsolete. Use -Template instead.
- Deprecated Get-PnPAzureADManifestKeyCredentials. Use Get-PnPAzureCertificate instead.

## [2.23.1802.0] - 2018-02-05
### Added
- Added Set-PnPSiteDesign and Set-PnPSiteScript cmdlets

## [2.22.1801.0]
### Added
- Added Get-PnPTenantAppCatalogUrl
- Start-PnPWorkflowInstance
- Get-PnPWorkflowInstance

**2017-12-06**
* Added cmdlets for Site Designs: Add-PnPSiteDesign, Add-PnPSiteScript, Get-PnPSiteDesign, Get-PnPSiteScript, Get-PnPSiteDesignRights, Grant-PnPSiteDesignRights, Remove-PnPSiteDesign, Remove-PnPSiteScript, Revoke-PnPSiteDesignRights
Expand Down
43 changes: 22 additions & 21 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,25 @@
# Contribution guidance



*work in progress*



All PnP repositories are following up on the standard PnP process on getting started and contribute.


See following PnP wiki page from the main repository for additional details.



- For getting started guidance, see [Setting up your environment](https://github.com/OfficeDev/PnP/wiki/Setting-up-your-environment).



*Notice that you'll need to update the URLs based on used repository. All community contributions are also more than welcome.
Please see following page for additional insights on the model.



- For contributing to PnP, see [Contributing to Office 365 developer patterns and practices](https://github.com/OfficeDev/PnP/wiki/contributing-to-Office-365-developer-patterns-and-practices)
---

## Building the source code ##

If you have set up up the projects and you are ready to build the source code, make sure to build the SharePointPnP.PowerShellModuleFilesGenerator project first. This project will be executed after every build and it will generate the required PSD1 and XML files with cmdlet documentation in them.

---
When you build the solution a postbuild script will copy the required files to a folder in your users folder called
*C:\Users\\\<YourUserName\>\Documents\WindowsPowerShell\Modules\SharePointPnPPowerShell\<Platform\>*. During build also the help and document files will be generated. If you have a session of PowerShell open in which you have used the PnP Cmdlets, make sure to close this PowerShell session first before you build. You will receive a build error otherwise because it tries to overwrite files that are in use.

To debug the cmdlets: launch PowerShell and attach Visual Studio to the powershell.exe process. In case you want to debug methods in PnP Sites Core, make sure that you open the PnP Sites Core project instead, and then attach Visual Studio to the powershell.exe. In case you see strange debug behavior, like it wants to debug PSReadLine.ps1, uninstall the PowerShell extension from Visual Studio.

## Code contributions
In order to succesfully compile the PnP PowerShell solution you will _also_ have to download *and build in Visual Studio* the [PnP-Sites-Core](https://github.com/OfficeDev/PnP-Sites-Core) repository and make the dev branch available. The PowerShell solution depends on it. In order to succesfully
Expand All @@ -46,7 +38,7 @@ A few notes:
As documentation is autogenerated by building the solution, make sure that you include both help and examples, alike

```csharp
[Cmdlet("Get", "SPOStoredCredential")]
[Cmdlet(VerbsCommon.Get, "SPOStoredCredential")]
[CmdletHelp("Returns a stored credential from the Windows Credential Manager", Category = "Base Cmdlets")]
[CmdletExample(Code = "PS:> Get-SPOnlineStoredCredential -Name O365",
Remarks = "Returns the credential associated with the specified identifier",
Expand All @@ -55,13 +47,21 @@ As documentation is autogenerated by building the solution, make sure that you i
{
}
```
### Most cmdlets will extend SPOWebCmdlet which provides a few helper objects for you to use, like SelectedWeb and ClientContext
### Most cmdlets will extend PnPCmdlet or PnPWebCmdlet which provides a few helper objects for you to use, like SelectedWeb and ClientContext
As most cmdlets are 'web sensitive' (e.g. you can specify a -Web parameter to point to a different subweb), make sure that you use the correct ClientContext. When a user specifies the -Web parameter
in a cmdlet that extens SPOWebCmdlet, the cmdlet will switch it's internal context to that web, reusing credentials. It is important to use the right context, and the easiest way to do that is to use
in a cmdlet that extens PnPWebCmdlet, the cmdlet will switch it's internal context to that web, reusing credentials. It is important to use the right context, and the easiest way to do that is to use

```csharp
var context = ClientContext
```

alternatively

```csharp
var context = SelectedWeb.Context;
```


### Cmdlets will have to work both on-premises and in the cloud
You can use preprocessor variables ("ONPREMISES" or "SP2013" and "SP2016") to build different cmdlets for the different targets. In cases where it is not possible to provide functionality for either the
cloud or on-premises, make sure to remove the full cmdlet from the compiled solution by having #IF(!SP2013) or #IF(SP2013) as the _first line of the cmdlet, before using statements.
Expand All @@ -87,10 +87,11 @@ If only parts of a cmdlet require different behaviour based upon the different v
The verb of a cmdlet (get-, add-, etc.) should follow acceptable cmdlet standards and should be part of one of the built in verbs classes (VerbsCommon, VerbsData, etc.):

## Documentation contributions
If you want to contribute to cmdlet documentation, please do not make a pull request to modify the actual files in the Documentation folder itself. Those files
are automatically generated based upon comments in the actual classes. So if you want to modify documentation or add an example of a cmdlet, navigate to the
The PowerShell documentation is located on [docs.microsoft.com](https://docs.microsoft.com/en-us/powershell/sharepoint/sharepoint-pnp/sharepoint-pnp-cmdlets?view=sharepoint-ps)

This documentation is automatically generated based upon statements/attributes in the source code of a cmdlet. If you want to modify documentation or add an example of a cmdlet, navigate to the
corresponding class where the cmdlet is being implemented and add the comments there. An example can for instance be found in

https://github.com/OfficeDev/PnP-PowerShell/blob/dev/Commands/Fields/AddField.cs
https://github.com/sharepoint/PnP-PowerShell/blob/dev/Commands/Fields/AddField.cs

Notice the [CmdletHelp("")] and [CmdletExample()] class attributes that describe the cmdlet.
Notice the [CmdletHelp("")] and [CmdletExample()] class attributes that describe the cmdlet. A description for a parameter is located in the [Parameter(HelpMessage = "") attribute.
58 changes: 58 additions & 0 deletions Commands/Admin/AddOffice365GroupToSite.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;

namespace SharePointPnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPOffice365GroupToSite")]
[CmdletHelp("Groupifies a classic team site by creating an Office 365 group for it and connecting the site with the newly created group",
DetailedDescription = "This command allows you to add an Office 365 Unified group to an existing classic site collection.",
SupportedPlatform = CmdletSupportedPlatform.Online,
Category = CmdletHelpCategory.TenantAdmin)]
[CmdletExample(
Code = @"PS:> Add-PnPOffice365GroupToSite -Url ""https://contoso.sharepoint.com/sites/FinanceTeamsite"" -Alias ""FinanceTeamsite"" -DisplayName = ""My finance team site group""",
Remarks = @"This will add a group called MyGroup to the current site collection", SortOrder = 1)]
public class AddOffice365GroupToSite: PnPAdminCmdlet
{
[Parameter(Mandatory = true, HelpMessage = @"Url of the site to be connected to an Office 365 Group.")]
public string Url;

[Parameter(Mandatory = true, HelpMessage = @"Specifies the alias of the group. Cannot contain spaces.")]
public string Alias;

[Parameter(Mandatory = false, HelpMessage = @"The optional description of the group.")]
public string Description;

[Parameter(Mandatory = true, HelpMessage = @"The display name of the group.")]
public string DisplayName;

[Parameter(Mandatory = false, HelpMessage = @"Specifies the classification of the group.")]
public string Classification;

[Parameter(Mandatory = false, HelpMessage = @"Specifies if the group is public. Defaults to false.")]
public SwitchParameter IsPublic;

[Parameter(Mandatory = false, HelpMessage = @"Specifies if the current site home page is kept. Defaults to false.")]
public SwitchParameter KeepOldHomePage;

protected override void ExecuteCmdlet()
{
var groupifyInformation = new TeamSiteCollectionGroupifyInformation()
{
Alias = Alias,
DisplayName = DisplayName,
Description = Description,
Classification = Classification,
IsPublic = IsPublic,
KeepOldHomePage = KeepOldHomePage
};

Tenant.GroupifySite(Url, groupifyInformation);
}
}
}
#endif
42 changes: 42 additions & 0 deletions Commands/Admin/AddSiteCollectionAppCatalog.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#if !ONPREMISES
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using SharePointPnP.PowerShell.Commands.Base;
using System.Management.Automation;
using OfficeDevPnP.Core.Sites;
using SharePointPnP.PowerShell.Commands.Base.PipeBinds;
using System;

namespace SharePointPnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Add, "PnPSiteCollectionAppCatalog")]
[CmdletHelp("Adds a Site Collection scoped App Catalog to a site",
SupportedPlatform = CmdletSupportedPlatform.Online,
Category = CmdletHelpCategory.TenantAdmin)]
[CmdletExample(
Code = @"PS:> Add-PnPOffice365GroupToSite -Site ""https://contoso.sharepoint.com/sites/FinanceTeamsite""",
Remarks = @"This will add a SiteCollection app catalog to the specified site", SortOrder = 1)]
public class AddSiteCollectionAppCatalog: PnPAdminCmdlet
{
[Parameter(Mandatory = true, HelpMessage = @"Url of the site to add the app catalog to.")]
public SitePipeBind Site;

protected override void ExecuteCmdlet()
{
string url = null;
if(Site.Site != null)
{
Site.Site.EnsureProperty(s => s.Url);
url = Site.Site.Url;
} else if(!string.IsNullOrEmpty(Site.Url))
{
url = Site.Url;
}

Tenant.GetSiteByUrl(url).RootWeb.TenantAppCatalog.SiteCollectionAppCatalogsSites.Add(url);
ClientContext.ExecuteQueryRetry();
}
}
}
#endif
Loading