Set-OrgAssetsLibrary
SharePoint Online: Configures org assets library
#Requires -Version 5.1
#Requires -Modules Microsoft.Online.SharePoint.PowerShell
[CmdletBinding()]
Param(
[Parameter(Mandatory = $true)]
[string]$LibraryUrl
)
Process {
try {
$result = Set-SPOOrgAssetsLibrary -LibraryUrl $LibraryUrl -ErrorAction Stop | Select-Object *
if ($null -ne $result) { $result | Add-Member -NotePropertyName Timestamp -NotePropertyValue (Get-Date -Format "yyyy-MM-dd HH:mm:ss") -PassThru -Force }
}
catch { throw }
}URL of the assets library