Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Add-PWMembertoUserList
    • Sign In

    • State Not Answered
    • Replies 7 replies
    • Subscribers 65 subscribers
    • Views 1688 views
    • Users 0 members are here

    Add-PWMembertoUserList

    Peter Willmen
    Offline Peter Willmen over 4 years ago

    Could I request an update to the Add-PWMembertoUserList cmdlet to allow a Group to be added as a member.

    Currently only seems to support User names.

    • Sign in to reply
    • Cancel
    • Kevin van Haaren
      0 Offline Kevin van Haaren Mon, Nov 5 2018 2:11 PM

      You can use PWPS's Add-PWUserListMember to add groups or user lists, but it's 32-bit only.

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Peter Willmen
      0 Offline Peter Willmen Tue, Nov 6 2018 3:38 AM in reply to Kevin van Haaren

      Thanks Kevin.

      I currently use that but need to get all of my scripts updated to use the PWPS_DAB 64-bit functions

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Andrea Scrutton
      0 Offline Andrea Scrutton Thu, Jun 4 2020 5:26 AM

      This used to have -GroupNames as a option but now it seems to have disappeared, has it now been removed?  We were using this option.  Do we need to go through all our scripts and change them?

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Kevin van Haaren
      0 Offline Kevin van Haaren Thu, Jun 4 2020 10:17 AM in reply to Andrea Scrutton

      I have pwps_dab 1.21.4.0 and it still shows a -GroupNames option.

      NAME
          Add-PWMemberToUserList
      
      SYNOPSIS
          Add-PWMemberToUserList adds ProjectWise Users, Groups or other User Lists to a ProjectWise User List.
      
      
      SYNTAX
          Add-PWMemberToUserList [[-InputUser] <User[]>] [-UserList] <string> [[-UserNames] <string[]>] [[-GroupNames] <string[]>] [[-UserListNames] <string[]>] [[-AddAllUsers] <SwitchParameter>]
          [<CommonParameters>]
      

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Brian Flaherty
      0 Offline Brian Flaherty Thu, Jun 4 2020 10:47 AM in reply to Andrea Scrutton

      Nothing has changed with this cmdlet.  Which version of the PWPS_DAB module are you currently using? Have you tried the latest?

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    >

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies