SpanningCloudApps / SB365-Powershell

Spanning Backup for Office 365 REST API PowerShell Module
https://spanning.com
Apache License 2.0
10 stars 5 forks source link

Enable Spanning Users #54

Closed ssuryakant20 closed 2 years ago

ssuryakant20 commented 2 years ago

I tried all the commands related to Enable spanning license user but all the enable related commands gives output in enabled users in one line and not like mentioned on github sample usage command

ssuryakant20 commented 2 years ago

Am trying to look output something like mentioned below

Enable-SpanningUsersFromCSVAdvanced -Path "C:\Test\Users.csv" -UpnColumn 1 The result should be displayed as follows:

userPrincipalName licensed


willa@doghousetoys.com True kobe@doghousetoys.com True jazzy@doghousetoys.com True cheyenne@doghousetoys.com True

SPMatthewMcD commented 2 years ago

That is showing the users that were licensed. You can also use Enable-SpanningUserList which allows 500 users at a time if you pass the array of UPNs.

ssuryakant20 commented 2 years ago

Even if you enable unlucensed users , after enabling the output is not in table format, it just gives one line row with the array of all the users and licensed value as true .

On Thu, Feb 3, 2022 at 6:29 PM Matthew McDermott @.***> wrote:

That is showing the users that were licensed. You can also use Enable-SpanningUserList which allows 500 users at a time if you pass the array of UPNs.

— Reply to this email directly, view it on GitHub https://github.com/SpanningCloudApps/SB365-Powershell/issues/54#issuecomment-1029498034, or unsubscribe https://github.com/notifications/unsubscribe-auth/APB3LXQRA4FVODWYD6QGFV3UZMFXLANCNFSM5NQHNWLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

--

Best Regards Suryakant Suryavanshi

SPMatthewMcD commented 2 years ago

The cmdlet returns the result from the API. If you need to format the output you can capture the result as a variable and apply formatting to the result variable.

SPMatthewMcD commented 2 years ago

Closing issue after 14 days, please reopen if you have questions.