Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Export Registry Baseline to text file
- $RegHive=@("HKCR","HKCU","HKLM","HKU","HKCC")
- Foreach ($Hive in $RegHive){
- Get-ChildItem -Path Registry::$Hive -Recurse -ErrorAction SilentlyContinue | Out-File -FilePath c:\users\john.huntsman\regbaseline.txt
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement