Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: Check for pending reboot

$
0
0
Hi,

I tried several times to load properly your script but there is always an error.

I am copying it in a script call main.ps1 then I have another script dot-sourcing PSAppdeploytoolkitmain.ps1 and main.ps1. Everytime i get an error about the cmdletbinding or this one:
La propriété « __Value__ » est introuvable dans cet objet. Vérifiez qu’elle existe. 
Au caractère C:\Temp\Vcredist2005_Frv1\_include\main.ps1:398 : 5
+     Write-Log -Message "Script [$($MyInvocation.MyCommand.Definition)] dot-sourc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In English it would say Value property not found at line 398
 Write-Log -Message "Script [$($MyInvocation.MyCommand.Definition)] dot-source invoked by [$(((Get-Variable -Name MyInvocation).Value).ScriptName)]" -Source $appDeployToolkitExtName

Viewing all articles
Browse latest Browse all 1769

Latest Images

Trending Articles



Latest Images

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