Browse Forum Posts by Tags

Showing related tags and posts for the Ask the Experts group. See all tags in the site
  • Re: Load Multiple Modules (.psm1) using a single psd1 file

    But, is it possible to call any function directly inside the loaded .ps1 files [as you say above] directly like Modules ? I am asking this because I am struggling to call a parameterised function inside a ps1 file using dot-sourcing from command line- function f([string]$a, [string]$b) { Write-Host "a...
    Posted to PowerShell for Windows (Forum) by Angshuman on 04-23-2012
    Filed under: powerershell, command prompt, Function
  • Re: Load Multiple Modules (.psm1) using a single psd1 file

    Sorry, I think I am missing something. I tried what you suggested, but I get the following error. I ran using Powershell x86 command prompt shell as well as ISE. I am running from the directory where the file is saved i.e. same level The term '..\Test.ps1' is not recognized as the name of a cmdlet...
    Posted to PowerShell for Windows (Forum) by Angshuman on 04-24-2012
    Filed under: powerershell, command prompt, Function
Page 1 of 1 (2 items)
Copyright 2012 PowerShell.com. All rights reserved.