0 votes

Good Day,

I would like to have deprovision users home directory renamed to include "disabled". Looking at the action items within Adaxes it only list "move/delete". Is it possible to use a powershell script? If so, how would I set this up?

Example:

John Doe - HomeDrive = \\file01\johndoe
After deprovision process would read \\file01\johndoe_disabled.

Running Adaxes 2013.1 on Windows 2008 R2 SP1.

Thanks for your help.

by (20 points)

1 Answer

0 votes
by (216k points)

Hello,

Try the built-in Move the home directory action for this purpose. To add such an action to the Custom Command that you use for user deprovisioning:

  1. Launch Adaxes Administration Console.
  2. Locate the Custom Command that you use for user deprovisioning and select it.
  3. Select the set of actions and conditions that you want to add the action to and click the Add Action button.
    **- or -
    Click the
    Add action to a new set** link.
  4. Select the Move the home directory action.
  5. In the Network path field, type the new path for the user's home directory. If you need to include username in the path, use the %username% value reference.
  6. Optionally, to reshare the home directory under a new name, in the New share name field, type the name, under which the user's home directory share should appear.
  7. Save the Custom Command.

Related questions

0 votes
1 answer

Hello, I have a requirement to create user folders in SharePoint with related permissions and have found in the script library the following: https://www.adaxes.com/script- ... you already have a script for a cloud/online only SharePoint site? Thanks, Simon

asked Nov 28, 2023 by simontorroni (70 points)
0 votes
1 answer

Hello Adaxes Support, is there any way you could help me with a script that changes the permissions on a users home folder? I need to remove the permission to delete the folder and add the permission to delete subfolders and files.

asked Aug 1, 2024 by dominik.stawny (280 points)
0 votes
1 answer

We are in process of implementing the enforcement of MFA everywhere and would like to add in the deprovision process that we revoke all MFA sessions for that user.

asked Feb 7 by slehne90 (20 points)
0 votes
1 answer

Please reference https://www.adaxes.com/questions/749/find-managed-object-on-deprovision Looking for a script that will show if the person being deprovisioned is an 'Approver' ... above question is similar but is quite old and I don't believe works anymore.

asked Jan 13 by dhodgin (80 points)
0 votes
1 answer

Hello All, is is possible via Adaxes deprovisioning to remove all his Azure and M365 roles besides custom Powershell script? Regards Ivaylo

asked Mar 31, 2023 by ivaylo.valkov (100 points)
3,634 questions
3,322 answers
8,398 comments
548,764 users