Results 1 to 14 of 14

Thread: PowerShell

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ⛧ ⛧ mitku's Avatar
    Join Date: Oct:2003
    Location: Sofia
    Posts: 17,904

    Lightbulb PowerShell

    PowerShell.

    , PowerShell:
    PowerShell ( , , "ABCD"), , ( .., Import-Module).
    / "ABCD.psm1" ( "" "ABCD.psd1" ..) dll xml. .e. , dll ( , "RequiredAssemblies = @('C:\MyPath\mylib.dll')" ABCD.psd1), XML ( - "ABCD.xml") ( ABCD.psd1... "TypesToProcess" ?), (: "Import-Module -Name "C:\MyPath\ABCD.psm1""), XML .
    , Global ("-Scope Global" ), .

    .. - / , XML, ( ).
    * Last Words: Modding... clocking?! Never!... This is bullshit! ... well... maybe only this time... just a little...
    * , ... , .

  2. #2
    Registered User autosvet's Avatar
    Join Date: Sep:2004
    Location: Edinburgh
    Posts: 7,748
    . . - C# PowerShell?

  3. #3
    ⛧ ⛧ mitku's Avatar
    Join Date: Oct:2003
    Location: Sofia
    Posts: 17,904
    ... PowerShell Manifest psd1 XML , .
    Quote Originally Posted by autosvet View Post
    . . - C# PowerShell?
    PowerShell. C#, , PowerShell - , . PowerShell. Import-Module. , Import-Module , .. - Manifest . - , XML- -, . - .

    .. ... . "ScriptsToProcess". ( ) . .
    Last edited by mitku; 10th May 2016 at 02:43.
    * Last Words: Modding... clocking?! Never!... This is bullshit! ... well... maybe only this time... just a little...
    * , ... , .

  4. #4
    Registered User autosvet's Avatar
    Join Date: Sep:2004
    Location: Edinburgh
    Posts: 7,748
    ...
    , 3.0 5.0 , ( ). Win 7 2.0.

    https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx
    Beginning in Windows PowerShell 3.0, modules are imported automatically when any cmdlet or function in the module is used in a command. This feature works on any module in a directory that this included in the value of the PSModulePath environment variable. If you do not save your module on a valid path however, you can still load them using the explicit Import-Module option, described above.

  5. #5
    ⛧ ⛧ mitku's Avatar
    Join Date: Oct:2003
    Location: Sofia
    Posts: 17,904
    ... , . - - , .
    * Last Words: Modding... clocking?! Never!... This is bullshit! ... well... maybe only this time... just a little...
    * , ... , .

  6. #6
    Registered User autosvet's Avatar
    Join Date: Sep:2004
    Location: Edinburgh
    Posts: 7,748

  7. #7

  8. #8
    Registered User autosvet's Avatar
    Join Date: Sep:2004
    Location: Edinburgh
    Posts: 7,748
    xploda .
    - "Module Manifest Elements":
    https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx
    Last edited by autosvet; 9th May 2016 at 22:59.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |