Spectra Assure
Community
passEverything is awesome!
Scanned: about 22 hours ago

PSObjectToRegistry

latest
Add-PSObjectToRegistry accepts one or more PSObjects or HashTables from the pipeline and serializes their properties as registry values under a specified key path. The target path is always rooted under HKLM:\SOFTWARE or HKCU:\SOFTWARE. Both PSObject and HashTable input types are supported. HashTables follow the same subkey conventions as PSObjects but do not support -UseFirstPropertyAsKey when multiple HashTables are provided. When multiple objects are piped in, each object is written to its own subkey. By default, subkeys are named numerically starting at 0. Use -UseLeadingZeros to pad numeric names to a consistent width, or -UseFirstPropertyAsKey to name each subkey after the value of the object's first property. By default, unique key names are ensured by appending numeric suffixes when using -UseFirstPropertyAsKey but the -AllowOverwrite parameter may be used to reverse this behavior. When only a single object is piped in and neither -UseFirstPropertyAsKey nor -UseLeadingZeros is specified, properties are written directly to the target key with no subkey created. This function requires appropriate permissions to write to the target hive. Writing to HKLM typically requires an elevated session.
License: unknown
Published: about 2 months ago

SAFE Assessment

Compliance

Licenses
No license compliance issues
Secrets
No sensitive information found

Security

Vulnerabilities
No known vulnerabilities detected
Hardening
No application hardening issues

Threats

Tampering
No evidence of software tampering
Malware
No evidence of malware inclusion

This website uses cookies to ensure the best website experience. By continuing to use this website you are giving your consent to cookies being used. Detailed information about our use of cookies is here.