Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi, first at all thank you for this life saver script for big environment :)
- But I have issue with implementing it …
- I think I done all what you suggest in readme, but issue is that I cannot successfully start script with flags, only standalone.. with flags get data in database but also got errors like:
- <blockquote>
- ...
- Setting last ran to 05/26/2019 15:25:42
- Updating local logfile with results
- Updating fileshare logfile with results
- Out-File : The network name cannot be found.
- At \\sccm\d$\ClientHealth\ConfigMgrClientHealth.ps1:266 char:16
- + $obj | Out-File -Encoding utf8 -Append $logFile
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : OpenError: (:) [Out-File], IOException
- + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand
- Updating SQL database with results
- </blockquote>
- some kind of file share permissions problem?
- second thing is this extension for sccm, cannot install it, always get error:
- <blockquote>
- PS D:\ClientHealth\Console Extension> powershell ./Install.ps1 -Path "D:\Program Files\ConfigMgr Client Health Console Extension" -ScheduledTaskName "ConfigMgr Client Health" -MaxThreads "40"
- powershell : D:\ClientHealth\Console Extension\Install.ps1 : A positional parameter cannot
- At line:1 char:1
- + powershell ./Install.ps1 -Path "D:\Program Files\ConfigMgr Client Hea ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotSpecified: (D:\ClientHealth...rameter cannot :String) [], RemoteException
- + FullyQualifiedErrorId : NativeCommandError
- be found that accepts argument 'Files\ConfigMgr'.
- At line:1 char:1
- + ./Install.ps1 -Path D:\Program Files\ConfigMgr Client Health Console ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : InvalidArgument: (:) [Install.ps1], ParameterBin
- dingException
- + FullyQualifiedErrorId : PositionalParameterNotFound,Install.ps1</blockquote>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement