►
From YouTube: Community Call Demo - Exporting full Site Script from an existing site using SharePoint PowerShell
Description
This community call demo is taken from the SharePoint Development community call recording on 30th of May 2019. In this video, Vesa Juvonen (Microsoft) shows how you can use SharePoint Online PowerShell to extract Site Script from existing SharePoint Online site.
At the time of the video recording, demonstrated PowerShell cmdlet Get-SPOSiteScriptFromWeb was not yet officially released externally.
Presenter - Vesa Juvonen (Mirosoft) - @vesajuvonen
Full details on the community call from https://developer.microsoft.com/en-us/sharepoint/blogs/sharepoint-dev-community-pnp-general-sp-dev-sig-recording-30th-of-may-2019/
More details on the SharePoint dev community calls from http://aka.ms/sppnp.
A
Really
showing
what
it
means
that
we're
exporting
the
full
site
as
a
structure.
So
what
I've
done
here
is
that
I
already
connected
the
cantos
Oh
18
a
tonight.
So
let
me
actually
assume
that
so
you
can
actually
see
what's
happening
here
so
I'm
already
connected,
so
I
can
do
something
like
it
SPO
site
and
that's
going
to
list
all
of
the
sites
which
are
available
in
a
tenon.
So
the
connectivities
is
already
available.
Okay
and
what
I
have
here
in
this
tenant
I
will
actually
go
to
the
site.
I'll
show
you
the
site.
A
First,
if
I
can
find
the
right
location
and
then
this
is
the
right
location,
excellent.
So
let
me
go
to
this
marketing
site
sales
and
marketing
site
and
we're
going
to
use
this
as
an
example
to
export
this
site
as
a
scientist
as
a
side
script
and
and
then
can
I,
have
a
look
onto
JSON
structure
and
what
we
actually
got
from
the
site.
So
obviously
the
PMP
engine
works
as
well.
It
is
actually
more
capable,
but
the
PMP
engine
is
then
slightly
more
different
to
get
integrated
on
the
out-of-the-box
provision.
Experience.
A
So
briefly
explaining
that
as
well,
if
you
want
to
extend
the
order
to
bauxite
designs
as
I
creation
process,
you
basically
then
are
introducing
site,
designs
and
sign
scripts,
and
those
are
the
ones
which
are
visible
in
here.
In
my
case,
I
have
here
one
custom
site
designer,
which
is
two
cantos
electronics
communication:
asylum.
That's
why
there's
the
the
site,
design
exporting
is
quite
important.
A
You
can
absolutely
create
a
quite
simplified
site,
designs
and
then
or
conflict
site
designs,
and
if
the
the
basic
capabilities
are
not
sufficient,
then
you
use
Asha
functions
and
you
extend
to
site
designs
using
alternative
means.
Okay,
briefly,
simple
sites
well
quite
complex
on
it
actually
I'm
going
to
go
back
on
a
comander
and
I'm
gonna
actually
copy
the
PowerShell
command,
which
is
not
yet
released.
Looking
into
potentially
potentially.
A
A
We
provided
a
a
URL
to
that
site
which,
when
I
export-
and
then
we
have
a
few
different
options,
so
include
branding
ingress,
iam
England
regional
settings
include
site
external
sharing
capability
and
include
lists
who
are
able
to
be
important
to
a
specific
list
as
well,
and
then
I'm
actually
doing
the
click
command
here,
which
means
that
I'm
actually
copy
paste
it
to
memory
yeah.
Here
we
go
and
it
makes
slightly
shown
that
picker
we
can
actually
see
what
does
we
got
exported
so
basically,
we
executed.
Thank
you.
The
windows
fee
yeah.
A
Yes,
so
we
exported
the
data
from
the
site
and
based
on
the
configurations
of
the
site.
So,
as
an
example,
there
side
columns
created,
there's,
there's
a
content
type,
it's
a
TMP
event,
and
all
of
that
is
getting
exported,
create
this
big
list
as
well.
So
it's
basically
then
mapping,
what's
included
in
the
site
and
I,
have
also
had
the
list
switch
on
and
I
said.
I
wanna
have
a
company
image
and
the
product
events.
A
If
I
remember
correctly,
and
so
we
have
a
definition,
then
all
for
all
of
these
structures
and
there's
the
product
list.
Yes,
and
we
also
have
a
few
definitions,
all
of
those
and
the
theme
setting
of
the
sides
and
also
two
navigational
settings
on
the
site.
So
as
an
example,
what
are
the
navigations?
How
do
we
render
the
header
and
do
we
have
a
footer
or
not
visible
on
the
side?
So
all
of
that
is
is
basically
them
available.
A
Good,
a
quick
demo,
I'm
gonna
move
back
on
the
slides
and
we're
gonna
talk
about
a
few
of
the
roadmap
slides
as
well,
but
basically
well
quite
easily.
You
can
now
export
them
slide
designs
from
existing
sites
and
we
will
then
do
additional
configuration
settings
and
additional
options
there
in
the
future
as
well.
But
already
as
such,
you
can
quite
easily
extent
order
to
work
site,
provisioning,
expiry.