

$ | Get-BookmarkFolder |ConvertTo-Json |Add-Content 'D:\file.json' $_bar | Get-BookmarkFolder |ConvertTo-Json |Add-Content 'D:\file.json' New-Object -TypeName PSobject -Property $hash Write-Verbose "Processing $($child.Name)"Īdded = ::FromFileTime(($child.Date_Added)*10) #A nested function to enumerate bookmark folders Write-Verbose -Message "Starting $($MyInvocation.Mycommand)" $data = Get-content $pathToJsonFile | out-string | ConvertFrom-Json PowerShell\BookMarks\ChromeBookMarx.json" $pathToJsonFile = "$env:localappdata\Google\Chrome\User Data\Default\Bookmarks"

Start-Transcript -Path $logFilePath -Append $logFilePath = "d:\PowerShell_$isodate.log" $isodate = Get-Date -Format yyyymmmdd_hhmmss The Synced Folder also creates a set of data as below in the same file: [ The BookMark_Bar creates a JSON with a brackets as below: [ This is due to two sets of folders in Chrome called Bookmark_Bar and Synced. I am hitting at a barrier with regard to an incorrect JSON file being created. I am trying to export the Chrome Bookmarks to CSV/Excel using Powershell.
