---
title: "Comment by google user on \"Invoke-Command alternative for Intune-managed Windows devices\" | Hashnode"
description: "Having a hard time using this. When I try to import the Intunestuff module, it says 'Import-Module: Assembly with same name is already loaded'. When I try to us"
url: "https://hashnode.com/posts/invoke-command-alternative-for-intune-managed-windows-devices/65faf4dc2e1b60e8e5282446/comment/6812262ce49e52fba46b89a9"
---

[Discussion](https://hashnode.com/posts/invoke-command-alternative-for-intune-managed-windows-devices/65faf4dc2e1b60e8e5282446)

Comment [Invoke-Command alternative for Intune-managed Windows devices](https://hashnode.com/posts/invoke-command-alternative-for-intune-managed-windows-devices/65faf4dc2e1b60e8e5282446)

[Apr 30, 2025](https://hashnode.com/posts/invoke-command-alternative-for-intune-managed-windows-devices/65faf4dc2e1b60e8e5282446/comment/6812262ce49e52fba46b89a9)

Having a hard time using this. When I try to import the Intunestuff module, it says 'Import-Module: Assembly with same name is already loaded'. When I try to use it, I get 'The 'Invoke-Intunecommand' command was found in the module 'IntuneStuff', but the module could not be loaded due to the following error: \[Assembly with same name is already loaded\]'. Remove-module does nothing.

[Ondrej Sebela](https://hashnode.com/@AndrewZtrhgf)

[Apr 30, 2025](https://hashnode.com/posts/invoke-command-alternative-for-intune-managed-windows-devices/65faf4dc2e1b60e8e5282446/comment/6812262ce49e52fba46b89a9#reply-68123adaaa3f969d24911e63)

Try to open new psh console with -noprofile parameter to avoid loading other modules before this one. There is conflict with Az or some other one.

[google user](https://hashnode.com/@woemoejack)

[Apr 30, 2025](https://hashnode.com/posts/invoke-command-alternative-for-intune-managed-windows-devices/65faf4dc2e1b60e8e5282446/comment/6812262ce49e52fba46b89a9#reply-68124f8156d904b93998d8b1)

Importing the module is now the error: Could not load file or assembly 'Azure.Core, Version=1.44.1.0, Culture=neutral, 2742159e12e44c8' or one of its dependencies. The system cannot find the file specified.
