install modules for all usersz

Welcome Forums General PowerShell Q&A install modules for all usersz

Viewing 3 reply threads
  • Author
    Posts
    • #234070
      Participant
      Topics: 41
      Replies: 94
      Points: 560
      Rank: Major Contributor

      Hi
      within my organisation we work with 4 different ADservers depending on which location of the globe we are located.
      I’m busy in creating offboarding scripts and as such I want to make sure that all the users have access to the same modules and by preference  me installing these first so that they are available to everyone.
      We need to RDP in to each server.

      when I use install-module -name azureAD -scope allusers I noticed that this in not reflected to other users.
      is there a way to get this done so that I do the installation of AzureAD so that every admin is able to use my script without having to go through the installation process by themselves?

    • #234082
      Participant
      Topics: 7
      Replies: 2458
      Points: 6,439
      Helping Hand
      Rank: Community MVP

      We need to RDP in to each server.

      You should not do this.

      when I use install-module -name azureAD -scope allusers I noticed that this in not reflected to other users.

      You’re talking about the computers the user are logged on, right? If the answer is yes you will have to start trouble shooting what’s going on because that’s the way you install a module for all users of a computer.

    • #234103
      Participant
      Topics: 41
      Replies: 94
      Points: 560
      Rank: Major Contributor

       

      Hi Olaf

      We need to RDP in to each server.

      You should not do this.

      I’m open for suggestions

    • #234109
      Participant
      Topics: 7
      Replies: 2458
      Points: 6,439
      Helping Hand
      Rank: Community MVP

      I’m open for suggestions

      Use Powershell remoting.

Viewing 3 reply threads
  • The topic ‘install modules for all usersz’ is closed to new replies.