5
I think it would be handy if all NAV data were potentially readable/editable through powershell cmdlets.
Naturally for admins only (if you can create a new user you can gain full access anyway).
Something logically similar to webservices - i.e. where your business logic from tables/pages is active… And where you had to expose it first from a setup table like the webservice table (just so not everything was exposed by default - but please allow for adding/deleting exposures from powershell as well - just like webservices :-) ).
I can think or several scenarios where that would be handy when provisioning new customers/tenants or initializing data for other reasons.
I.e. creating or maintaining user groups (are not currently possible through powershell).
Note: I know it IS possible to expose stuff through webservices and consume that one in Powershell (actually blogged about it in danish here: https://scblog.lynge.org/?p=1105), but that is cumbersome because it requires exposing the webservice (yes - that is also possible through powershell), but also requires logging in etc... A more direct powershell approach would be better i think.
Best Regards
Gert Lynge
Naturally for admins only (if you can create a new user you can gain full access anyway).
Something logically similar to webservices - i.e. where your business logic from tables/pages is active… And where you had to expose it first from a setup table like the webservice table (just so not everything was exposed by default - but please allow for adding/deleting exposures from powershell as well - just like webservices :-) ).
I can think or several scenarios where that would be handy when provisioning new customers/tenants or initializing data for other reasons.
I.e. creating or maintaining user groups (are not currently possible through powershell).
Note: I know it IS possible to expose stuff through webservices and consume that one in Powershell (actually blogged about it in danish here: https://scblog.lynge.org/?p=1105), but that is cumbersome because it requires exposing the webservice (yes - that is also possible through powershell), but also requires logging in etc... A more direct powershell approach would be better i think.
Best Regards
Gert Lynge
STATUS DETAILS
Needs Votes
Business Central Team (administrator)
Thank you for your feedback. Currently this is not in our roadmap; however, we are tracking it and if we get more feedback and votes, we may consider it in the future. Sincerely, Henrik Westergaard Hansen PM, Microsoft