Skip to content

Could not connect to #38

@DoubleJCream

Description

@DoubleJCream

Hi

I just tried using your script to wipe some extra profiles off some of my users laptops and initially i had to allow the PS Man through the firewall - when i run the command
Get-RSUserProfile -ComputerName "Laptop1"
i get the listing of the profiles, however when i run the command;

Remove-RSUserProfile -ComputerName "Laptop1" -UserName "User1"
I get the error;
Could not connect to trough WinRM, please check the connection and try again

so just wondering if you know what is missing? The first indication is that it isn't displaying the computer name. I see in the code that its doing this mostly through cim session - not sure if the Get-RSUserProfile uses that as well and if so why its not working for Remove-RSUserProfile.

Let me know if you have any ideas.

PS - small typo - the spelling should be '.. through WinRM'

thanks

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions