Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. PowerShell installation - missing file

PowerShell installation - missing file

Scheduled Pinned Locked Moved The Lounge
comwindows-admintestingtoolshelp
13 Posts 5 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Jeremy Falcon

    Dario Solera wrote:

    System.Management.Automation.dll

    Does.Anyone.Else.Wonder.How.Long.Filenames.Will.Get.Before.MS.Is.Satisfied.dll? [edit] I just love how people abuse the voting system now. Yeah, like this post is inappropriate and needs to be filtered. [/edit]

    Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

    D Offline
    D Offline
    Dario Solera
    wrote on last edited by
    #4

    Jeremy Falcon wrote:

    Doea.Anyone.Else.Wonder.How.Long.Filenames.Will.Get.Before.MS.Is.Satisfied.dll?

    :-D

    ________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 1.1 (1.0.7 is out)

    1 Reply Last reply
    0
    • S Shog9 0

      What is MAX_PATH? Like, 250 chars or something? Sure there are ways around it, but i doubt most programs support them terribly well...

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #5

      Shog9 wrote:

      What is MAX_PATH? Like, 250 chars or something?

      I thought it was bumped up to 512 for newer versions of Winders. Have to double-check that though as my brain tends to play little games on me these days. Still, if the filename is 5 miles long, you're just lessening the amount of dirs your program is gonna access before it just starts barfing.

      Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

      1 Reply Last reply
      0
      • J Jeremy Falcon

        Dario Solera wrote:

        System.Management.Automation.dll

        Does.Anyone.Else.Wonder.How.Long.Filenames.Will.Get.Before.MS.Is.Satisfied.dll? [edit] I just love how people abuse the voting system now. Yeah, like this post is inappropriate and needs to be filtered. [/edit]

        Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

        J Offline
        J Offline
        Judah Gabriel Himango
        wrote on last edited by
        #6

        Jeremy Falcon wrote:

        System.Management.Automation.dll

        Meh, that's a mere 33 characters. IMO, I'd rather have a descriptive name like that than msmngmntautomtn.dll

        Tech, life, family, faith: Give me a visit. I'm currently blogging about: God-as-Judge, God-as-Forgiver The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

        J 1 Reply Last reply
        0
        • J Judah Gabriel Himango

          Jeremy Falcon wrote:

          System.Management.Automation.dll

          Meh, that's a mere 33 characters. IMO, I'd rather have a descriptive name like that than msmngmntautomtn.dll

          Tech, life, family, faith: Give me a visit. I'm currently blogging about: God-as-Judge, God-as-Forgiver The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

          J Offline
          J Offline
          Jeremy Falcon
          wrote on last edited by
          #7

          Judah Himango wrote:

          IMO, I'd rather have a descriptive name like that than msmngmntautomtn.dll

          Maybe I'm old school, but I don't see using standard, common abbreviations as being non-descriptive.

          Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

          J 1 Reply Last reply
          0
          • J Jeremy Falcon

            Judah Himango wrote:

            IMO, I'd rather have a descriptive name like that than msmngmntautomtn.dll

            Maybe I'm old school, but I don't see using standard, common abbreviations as being non-descriptive.

            Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

            J Offline
            J Offline
            Judah Gabriel Himango
            wrote on last edited by
            #8

            I bet you're the same guy who coded all these functions I see in some libraries....chkcmdlenstx, showerrlenonfnferr... ;) I know, you said "standard, common", but standard and common is relative. In my experience, once you start abbreviating everything, it only adds to confusion. Unless you're hitting a real problem with path lengths -- and jeez, the few extra characters is a drop in the 255 max bucket -- it's better to use descriptive names. Just my opinion. Jeremy, outside of typing fewer characters and lessening the [rare] likelihood of path too long errors, are there any other benefits to abbreviating everything? I guess my main problem is that it gets too cryptic over time and only adds to confusion later on.

            Tech, life, family, faith: Give me a visit. I'm currently blogging about: God-as-Judge, God-as-Forgiver The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

            J 1 Reply Last reply
            0
            • D Dario Solera

              I started messing around with Windows PowerShell[^]. Quite impressive. I have a problem, though. It seems that the file System.Management.Automation.dll is missing (the installation completed successfully). The thing still works, but I cannot register cmdlets (the compiler says it cannot find the assembly, and it's true - no assemblies in the installation path (system32\windowspowershell\v1.0)). I couldn't find anything useful on the net. Any advice? Did anyone notice the same? Thanks.

              ________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 1.1 (1.0.7 is out)

              T Offline
              T Offline
              Tom Archer
              wrote on last edited by
              #9

              Reference assemblies are installed into %program files%\Reference Assemblies\Microsoft\<Product>\v<Version>. I just looked at an install for WPS files at C:\Program Files\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0 and find the following: 09/28/2006 02:49 PM 139,264 Microsoft.PowerShell.Commands.Management.dll 09/28/2006 02:49 PM 294,912 Microsoft.PowerShell.Commands.Utility.dll 09/28/2006 02:49 PM 200,704 Microsoft.PowerShell.ConsoleHost.dll 09/28/2006 02:49 PM 65,536 Microsoft.PowerShell.Security.dll 09/28/2006 02:49 PM 1,564,672 System.Management.Automation.dll 5 File(s) 2,265,088 bytes 2 Dir(s) 48,475,697,152 bytes free Tom Archer Program Manager - Windows SDK Compilers and Tools MICROSOFT

              D 1 Reply Last reply
              0
              • J Judah Gabriel Himango

                I bet you're the same guy who coded all these functions I see in some libraries....chkcmdlenstx, showerrlenonfnferr... ;) I know, you said "standard, common", but standard and common is relative. In my experience, once you start abbreviating everything, it only adds to confusion. Unless you're hitting a real problem with path lengths -- and jeez, the few extra characters is a drop in the 255 max bucket -- it's better to use descriptive names. Just my opinion. Jeremy, outside of typing fewer characters and lessening the [rare] likelihood of path too long errors, are there any other benefits to abbreviating everything? I guess my main problem is that it gets too cryptic over time and only adds to confusion later on.

                Tech, life, family, faith: Give me a visit. I'm currently blogging about: God-as-Judge, God-as-Forgiver The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                J Offline
                J Offline
                Jeremy Falcon
                wrote on last edited by
                #10

                Judah Himango wrote:

                I know, you said "standard, common", but standard and common is relative. In my experience, once you start abbreviating everything, it only adds to confusion.

                If it adds confusion, then you're not using standard abbreviations. :)

                Judah Himango wrote:

                Unless you're hitting a real problem with path lengths -- and jeez, the few extra characters is a drop in the 255 max bucket

                On a typical WinXP install, when you get folders like this... C:\Documents and Settings\Jeremy\Local Settings\Application Data\Identities\{D7632ACE-16CE-44AD-9615-35E18FF3CB5E}\Microsoft\Outlook Express Yes, it's 140 chars and not the limit, but my point is A: using shorthand let's you take it even further with less worries and B: it's not cryptic unless someone makes it out to be. And it's for damn sure not as cryptic as using a GUID for a folder name. :laugh: Also, let's not forget to mention if your app does depends on a structure, having short-handed names, does make a bit more portable.

                Judah Himango wrote:

                I guess my main problem is that it gets too cryptic over time and only adds to confusion later on.

                There is nothing more confusing about something along of lines of SysAdmin compared to System.Administration.

                Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

                J 1 Reply Last reply
                0
                • J Jeremy Falcon

                  Judah Himango wrote:

                  I know, you said "standard, common", but standard and common is relative. In my experience, once you start abbreviating everything, it only adds to confusion.

                  If it adds confusion, then you're not using standard abbreviations. :)

                  Judah Himango wrote:

                  Unless you're hitting a real problem with path lengths -- and jeez, the few extra characters is a drop in the 255 max bucket

                  On a typical WinXP install, when you get folders like this... C:\Documents and Settings\Jeremy\Local Settings\Application Data\Identities\{D7632ACE-16CE-44AD-9615-35E18FF3CB5E}\Microsoft\Outlook Express Yes, it's 140 chars and not the limit, but my point is A: using shorthand let's you take it even further with less worries and B: it's not cryptic unless someone makes it out to be. And it's for damn sure not as cryptic as using a GUID for a folder name. :laugh: Also, let's not forget to mention if your app does depends on a structure, having short-handed names, does make a bit more portable.

                  Judah Himango wrote:

                  I guess my main problem is that it gets too cryptic over time and only adds to confusion later on.

                  There is nothing more confusing about something along of lines of SysAdmin compared to System.Administration.

                  Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

                  J Offline
                  J Offline
                  Judah Gabriel Himango
                  wrote on last edited by
                  #11

                  I agree about SysAdmin example. Another good example is RegEx versus RegularExpression. My problem is the fact that people tend to take things too far, abbreviating everything, making a cryptic, unreadable mess of things. That's what I don't like, and without having some sort of hard line rule as far as what is "common knowledge", it's wide open for abuse.

                  Tech, life, family, faith: Give me a visit. I'm currently blogging about: God-as-Judge, God-as-Forgiver The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                  1 Reply Last reply
                  0
                  • T Tom Archer

                    Reference assemblies are installed into %program files%\Reference Assemblies\Microsoft\<Product>\v<Version>. I just looked at an install for WPS files at C:\Program Files\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0 and find the following: 09/28/2006 02:49 PM 139,264 Microsoft.PowerShell.Commands.Management.dll 09/28/2006 02:49 PM 294,912 Microsoft.PowerShell.Commands.Utility.dll 09/28/2006 02:49 PM 200,704 Microsoft.PowerShell.ConsoleHost.dll 09/28/2006 02:49 PM 65,536 Microsoft.PowerShell.Security.dll 09/28/2006 02:49 PM 1,564,672 System.Management.Automation.dll 5 File(s) 2,265,088 bytes 2 Dir(s) 48,475,697,152 bytes free Tom Archer Program Manager - Windows SDK Compilers and Tools MICROSOFT

                    D Offline
                    D Offline
                    Dario Solera
                    wrote on last edited by
                    #12

                    Tom Archer - MSFT wrote:

                    Reference assemblies are installed into %program files%\Reference Assemblies\Microsoft\\v.

                    I don't have the Reference Assemblies directory. :~

                    ________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 1.1 (1.0.7 is out)

                    T 1 Reply Last reply
                    0
                    • D Dario Solera

                      Tom Archer - MSFT wrote:

                      Reference assemblies are installed into %program files%\Reference Assemblies\Microsoft\\v.

                      I don't have the Reference Assemblies directory. :~

                      ________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 1.1 (1.0.7 is out)

                      T Offline
                      T Offline
                      Tom Archer
                      wrote on last edited by
                      #13

                      I've never heard of anyone not having that folder installed. Email me offline and I'll help you.

                      Tom Archer (blog) Program Manager - Windows SDK Compilers and Tools MICROSOFT

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups