Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Difference between PowerShell cmdlets Open-PWConnection and New-PWLogin
    • Sign In

    • State Not Answered
    • Replies 1 reply
    • Subscribers 66 subscribers
    • Views 1300 views
    • Users 0 members are here
    • powershell
    • ProjectWise
    • ProjectWise PowerShell Modules

    Difference between PowerShell cmdlets Open-PWConnection and New-PWLogin

    Paul Katalinich
    Offline Paul Katalinich over 5 years ago

    Can somebody explain any differences between Open-PWConnection and New-PWLogin and when you would use one over the other?

    It looks like Open-PWConnection has an -admin option and New-PWLogin doesn't.  Wouldn't you always want to use -admin?

    • Sign in to reply
    • Cancel
    • Dave Cole
      0 Offline Dave Cole Thu, Dec 21 2017 10:08 AM

      Here's what I have from my notes regarding New-PWLogin

      New-PWLogin
          #-verbose option displays if working dir exist and what datasource connecting to
          #Forced to administration mode - no non-admin mode
          #Checks for a working dir and if it doesn't exist it creates it without prompting
          #With no parameters GUI is assumed
          #If password is not provided SSO is assumed
          #If username is not provided SSO is assumed

      • 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