box / boxcli

A command line interface for interacting with the Box API.
https://developer.box.com
Apache License 2.0
222 stars 59 forks source link

Update Users_Deprovision.ps1 #379

Closed johnjamesmarsh closed 2 years ago

johnjamesmarsh commented 2 years ago

Added a TestMode flag around the TransferContent and users:delete sections so that the script can be tested before anything destructive is done. There is a flag at the top of the file that needs an uppercase 'N' in order for the script to delete the users

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

mgrytsai commented 2 years ago

Thanks @johnjamesmarsh for your PR. Do you actually mind re-opening it and we can review and merge that?

I think it is a great addition to the existing script and having a possibility of skipping the deletion part is helpful.

johnjamesmarsh commented 2 years ago

Hi Mike,

I have resubmitted my change. I'm not that used to adding changes with Git so I have created another with the same changes. It's a very simple change but I wanted it for myself so thought it would be good to add back in for anyone else.

I'm working on tme.box.com.

Regards

John


From: Mike Grytsai @.> Sent: 10 August 2022 11:59 To: box/boxcli @.> Cc: johnjamesmarsh @.>; Mention @.> Subject: Re: [box/boxcli] Update Users_Deprovision.ps1 (PR #379)

Thanks @johnjamesmarshhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjohnjamesmarsh&data=05%7C01%7C%7Cbe0350c313064120877008da7abf69c1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637957259766178463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=C47zxCGzzRDRYZEZ0HhJzDnsLC0D2tyMhy6c%2BbJ9a0M%3D&reserved=0 for your PR. Do you actually mind re-opening it and we can review and merge that?

I think it is a great addition to the existing script and having a possibility of skipping the deletion part is helpful.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbox%2Fboxcli%2Fpull%2F379%23issuecomment-1210513187&data=05%7C01%7C%7Cbe0350c313064120877008da7abf69c1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637957259766178463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=rGYYZWhQJa%2BM4yTr3ryJjvIZitrKntnqqkt9DP3Um2g%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAOWG5THDDFYMU2QPWBNTYDVYODRPANCNFSM56D7YTZQ&data=05%7C01%7C%7Cbe0350c313064120877008da7abf69c1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637957259766178463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FCrdRYJk6lLpUiymckGWvvTOcU%2FGjInDbXE8sFJ%2BUEo%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>