parent
06c303f539
commit
b7bd4932f2
|
@ -1,5 +1,16 @@
|
|||
cd C:\Users\trwg1\sp-dev-fx-webparts\samples\react-private-libraries\scripts\
|
||||
#connect-pnponline -Url "https://russellwgove.sharepoint.com/sites/deleteme"
|
||||
connect-pnponline -Url "https://{tenant}.sharepoint.com/sites/{site}"
|
||||
$it=Get-Content '.\rfx.json'-Raw
|
||||
Add-PNPSiteScript -Title "RFx Lists" -Content $it
|
||||
$script=Add-PNPSiteScript -Title "RFx Lists" -Content $it
|
||||
|
||||
$design=Add-PNPSiteDesign `
|
||||
-Title "Rfx Listes" `
|
||||
-WebTemplate "64" `
|
||||
-SiteScriptIds $script.Id `
|
||||
-Description "Creates RFX Libraries"
|
||||
|
||||
Invoke-PnPSiteDesign -Identity $design.Id
|
||||
|
||||
Remove-PnPSiteDesign -Identity $design.Id
|
||||
|
||||
Remove-PnPSiteScript -Identity $script.Id
|
||||
|
|
Loading…
Reference in New Issue