Open resolve-apm opened 4 months ago
@resolve-apm Hi, I have added a pre-release now that should work. Please try it out.
To install it uninstall the old module first.
Uninstall-Module -Name "DeleteUserProfile" -Force
Then install the dependency module, it's req for the new version.
Install-Module -Name "rsServiceModule" -Scope AllUsers -Force
Then install the pre-release module
Install-Module -Name "DeleteUserProfile" -Scope AllUsers -AllowPrerelease -Force
Please confirm if it's working for you or not, I did just fix it up quickly and did a run with it.
Hi, still the same error message, no difference when using the preview.
@resolve-apm have you restarted all of your PS windows after? To make sure that the old version are not cached or something in your PS session?
Also can you provide step by step how you doing it? So I can try to reproduce it.
Win Server 2019 - Datacenter, with RDS Member role.
Run PS7 as admin Uninstall-Module -Name "DeleteUserProfile" -Force Uninstall-Module -Name "rsServiceModule" -Force Get-PSSession | Disconnect-PSSession
Run PS7 as admin Install-Module -Name "rsServiceModule" -Scope AllUsers -Force Install-Module -Name "DeleteUserProfile" -Scope AllUsers -AllowPrerelease -Force
Get-RSUserProfile -Exclude "USERNAME", -All Get-RSUserProfile: A parameter cannot be found that matches parameter name 'Exclude'.
On Wed, 15 May 2024 at 02:39, Robin Stolpe @.***> wrote:
@resolve-apm https://github.com/resolve-apm have you restarted all of your PS windows after? To make sure that the old version are not cached or something in your PS session?
Also can you provide step by step how you doing it? So I can try to reproduce it.
— Reply to this email directly, view it on GitHub https://github.com/rstolpe/DeleteUserProfile/issues/39#issuecomment-2110421604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUTQX22RCMEDUBVMRH3WDW3ZCIO23AVCNFSM6AAAAABHVM73WWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJQGQZDCNRQGQ . You are receiving this because you were mentioned.Message ID: @.***>
Win Server 2019 - Datacenter, with RDS Member role.
Run PS7 as admin
Uninstall-Module -Name "DeleteUserProfile" -Force
Uninstall-Module -Name "rsServiceModule" -Force
Get-PSSession | Disconnect-PSSession
Run PS7 as admin
Install-Module -Name "rsServiceModule" -Scope AllUsers -Force
Install-Module -Name "DeleteUserProfile" -Scope AllUsers -AllowPrerelease
-Force
Get-RSUserProfile -Exclude "USERNAME", -All
Get-RSUserProfile: A parameter cannot be found that matches parameter name
'Exclude'.
On Wed, 15 May 2024 at 02:39, Robin Stolpe @.***> wrote:
@resolve-apm https://github.com/resolve-apm have you restarted all of
your PS windows after? To make sure that the old version are not cached or
something in your PS session?
Also can you provide step by step how you doing it?
So I can try to reproduce it.
—
Reply to this email directly, view it on GitHub
https://github.com/rstolpe/DeleteUserProfile/issues/39#issuecomment-2110421604,
or unsubscribe
.
You are receiving this because you were mentioned.Message ID:
@.***>
I can reproduce it now, I'll take a look at it during the day.
Any progress?
Recently deployed the module, functions fine during testing to get all profiles however receiving the error: A parameter cannot be found that matches parameter name 'Exclude'.
Get-RSUserProfile -Exclude "TestUser", -All
Known issue?