itrunsde / logscaledsc Goto Github PK
View Code? Open in Web Editor NEWCreate a powershell DSC configuration file for use in a group policy to distribute and enroll the Falcon LogScale Collector.
License: MIT License
Create a powershell DSC configuration file for use in a group policy to distribute and enroll the Falcon LogScale Collector.
License: MIT License
The script shows an error when using -UseSigning.
Set-AuthenticodeSignature : Cannot bind parameter 'Certificate'. Cannot create object of type
"System.Security.Cryptography.X509Certificates.X509Certificate2". "Thumbprint" is a ReadOnly property.
At C:\Scripts\LogScaleDSC\Invoke-CreateLogScaleDSC.ps1:227 char:106
+ ... $workingDir)\GroupPolicy\DSC_LogScale_$($section.name).ps1" $signCert
+ ~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-AuthenticodeSignature], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.SetAuthenticodeSignatureCom
mand
The enrollment token is not present in the DSC file.
LogScaleDSC/Invoke-CreateLogScaleDSC.ps1
Line 108 in d449d5c
Return the installation code and if the installation fails, return the mesage from the command line.
Maybe log the message to the event log.
LogScaleDSC/Invoke-CreateLogScaleDSC.ps1
Line 111 in e105c77
It should be possible to specify a code signature certificate or to use the certificate saved under Personal.
Also there should be a help entry with information for signing the PowerShell Invoke Script.
Check the existence of the installation file before opening it for extracting the ProductID.
https://github.com/ITrunsDE/LogScaleDSC/blob/d449d5cab894fee370321e577c6c5b85df10ceaf/Invoke-
CreateLogScaleDSC.ps1#L131C130-L131C134
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.