Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Looking for specific cmdlets
    • Sign In

    • State Not Answered
    • +1 person also asked this people also asked this
    • Replies 8 replies
    • Subscribers 66 subscribers
    • Views 3269 views
    • Users 0 members are here
    • powershell
    • ProjectWise
    • ProjectWise PowerShell Modules

    Looking for specific cmdlets

    Ben Davies
    Offline Ben Davies over 5 years ago

    Hello,

    We are starting to use PowerShell to try and automate some procedures and reports but I can only see a list of the cmdlets, but nothing what they do. So you would anyone know which ones would be best on the following if they are even possible:

    1. Reporting users and the groups they are assigned to on each datasource but also report on a property they have been assigned for example whether they have been set to use the integration server license or client side license.
    2. Rename files from a search result to add PW attributes to the file name.
    3. To create a ProjectWise project with a list of values and then apply access template from an excel file.

    The rest of the code we can do but it is the specific or combinations of cmdlets that would do the above we are struggling with.

    • Sign in to reply
    • Cancel

    Top Replies

    • Kevin van Haaren
      Offline Kevin van Haaren Wed, May 23 2018 11:15 AM in reply to Brent Goreham +1
      get-command -module PWPS get-command -module PWPS_DAB
    • Brian Flaherty
      0 Offline Brian Flaherty Wed, Jan 24 2018 2:48 PM

      You can use Get-Help <cmdletname> -Full on any of the cmdlets provided to see what it is used for.  

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Robert Biggar
      0 Offline Robert Biggar Tue, Feb 6 2018 1:07 PM

      I've been doing a bunch of data loading (attributes and properties) both from ascii data files and XML. have you found an answer to the renaming of files question?

      I have done some renaming both of folders and files. and adding to the description.

      Brian is correct...a lot of this is done by the "Get-Help", but I think it would be nice to have a list/whitepaper/book on the ProjectWise side of things similar to the "Powershell Cookbook) (o'reilly press) just for "getting started" purposes.

      b

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Ben Davies
      0 Offline Ben Davies Wed, Feb 7 2018 11:54 AM in reply to Brian Flaherty

      Thanks Brian, sorry did not see you had posted a reply. Thanks I will use that on the cmdlets that I think might do the tasks we need and keep trying until I find the right one.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Ben Davies
      0 Offline Ben Davies Wed, Feb 7 2018 11:55 AM in reply to Robert Biggar

      I have started to look at the list of cmdles available in the Powershell, but we have also been looking at doing this through an Excel Macro after copying a set of columns out from PW documents view, with great success so far.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • NicolasT
      0 Offline NicolasT Wed, May 23 2018 7:12 AM in reply to Ben Davies

      Hello,

      sorry, I am new in this Powershell story. Could you please advise where I could generate a list of all available cmdlets ? would it be possible to automate a scan ref process ? e.g. daily scan ref of a list of folders, projects,.. ? Thank yoy very much in advance for your help. Best regards, Nico

      • 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