-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Labels
externalThe issue cannot be resolved within the DSC Resource Kit.The issue cannot be resolved within the DSC Resource Kit.questionThe issue is a question.The issue is a question.
Description
Problem description
Powershell is having an issue with a certain parameter and is requesting to use one that is not a part of the Dsc_xpackage resource according to the documentation. It seems to want me to use the Parameter "Path" but the closest thing I can see in the documentation is "dsc_path"
Verbose logs
no parameter named 'path' on Dsc_xpackage[sophos_install_agent]
dsc_xpackage: PowerShell DSC resource DSC_xPackageResource failed to execute Get-TargetResource functionality with error message: The specified Path 'D:\CMMain8' does not appear to specify an EXE or MSI file and as such is not supported.
Parameter name: Path
DSC configuration
dsc_xpackage { 'sophos_install_agent':
dsc_ensure => present,
dsc_name => 'Sophos Endpoint Agent',
#dsc_productid => '',
dsc_path => $test,
dsc_arguments => '--quiet',
require => Reboot['reboot_when_refreshed_exclude_wau_rename'],
notify => Reboot['sophos_reboot_when_refreshed'],
}Suggested solution
Attempt to replicate issue in a different envirionment.
Operating system the target node is running
Windows Server 2019
PowerShell version and build the target node is running
PowerShell 7
xPSDesiredStateConfiguration version
9.1.0-0-4
Metadata
Metadata
Assignees
Labels
externalThe issue cannot be resolved within the DSC Resource Kit.The issue cannot be resolved within the DSC Resource Kit.questionThe issue is a question.The issue is a question.