Skip to content

New-SdnProvider

SharePoint Online: Creates an SDN provider

#Requires -Version 5.1
#Requires -Modules Microsoft.Online.SharePoint.PowerShell

[CmdletBinding()]
Param(
    [Parameter(Mandatory = $true)]
    [string]$Identity,
    [Parameter(Mandatory = $true)]
    [string]$License
)

Process {
    try {
        $result = New-SPOSdnProvider -Identity $Identity -License $License -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 }
}

Name of the SDN provider

License type

An interactive directory of PowerShell scripts.