pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
990 stars 663 forks source link

[BUG] Get-PnPSiteScript Does not return description property #2889

Open BrunoDrljanovcan opened 4 years ago

BrunoDrljanovcan commented 4 years ago

Expected behavior

Get-PnPSiteScript Should return all the properties set by Add-PnPSiteScript cmdlet ( Title, Content, Description etc.).

Actual behavior

Get-PnPSiteScript does not return Description property in the returned object. It is empty/null.

Steps to reproduce behavior

  1. Create SiteScript with Add-PnPSiteScript -Title "My Site Script" -Description "A more detailed description" -Content $script
  2. Get created script with Get-PnPSiteScript -Identity {Id of created script}

Which version of the PnP-PowerShell Cmdlets are you using?

How did you install the PnP-PowerShell Cmdlets?