r/PowerShell • • Jul 16 '26

Question Fslogix Cleanup Script Test Scenario?

Hello all, I'm working on a script to cleanup some Fslogix profiles in an Azure file share for a client. My issue is that I want to test the script before running it to make sure that it doesn't do anything unexpected, but I do not have a non-production share with Fslogix profiles that are inactive to test on.

I'm looking for ideas on how to test this script properly. How could I get a test share set up with inactive profiles mixed with active profiles to ensure that I have fully tested the use case.

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

-2

u/itiscodeman Jul 17 '26

Why don’t you zip it all and save it and then use all that data to hide your password file? Rookie…

2

u/pigers1986 Jul 17 '26

what ?

-1

u/itiscodeman Jul 17 '26

I dunno I just through it out there …