Quantcast
Channel: Setup Deployment forum
Viewing all articles
Browse latest Browse all 2818

Powershell support

$
0
0

I'm trying to run a powershell script for a study course I have, however each time I get the below failure.

Import-Module : Cannot bind argument to parameter 'Name' because it is null.
At C:\Program Files\WindowsPowerShell\Modules\Lability\0.10.1\Lib\Dism.ps1:63 char:43
+         $dismModule = Import-Module -Name $dism Path -Force -Scope Gl ...
+                                           ~~~~~
    + CategoryInfo          : InvalidData: (:) [Import-Module], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ImportModul
   eCommand

 

and 

GetDscModule : DSC module\resource 'PSDesiredStateConfiguration\MSFT_WindowsOptionalFeature' not found.
At C:\Program Files\WindowsPowerShell\Modules\Lability\0.10.1\Lib\DscResource.ps1:37 char:33
+ ... ourcePath = GetDscModule -ModuleName $ModuleName -ResourceName $Resou ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,GetDscModule

What have I missed here?


Viewing all articles
Browse latest Browse all 2818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>