Windows 10: Powershell: Get-DnsServerResourceRecord -ZoneName test.comConvertTo-Json...

Discus and support Powershell: Get-DnsServerResourceRecord -ZoneName test.comConvertTo-Json... in Windows 10 Software and Apps to solve the problem; Hi,I'm working on a project trying to parse the contents of the zones and records.I'm using the below command to get the data in the json... Discussion in 'Windows 10 Software and Apps' started by aditya_ib_01, Aug 22, 2022.

  1. Powershell: Get-DnsServerResourceRecord -ZoneName test.comConvertTo-Json...


    Hi,I'm working on a project trying to parse the contents of the zones and records.I'm using the below command to get the data in the json format.Get-DnsServerResourceRecord -ZoneName test.comConvertTo-JsonThe command works fine for small amount of data, but when I try to extract info of a zone which consists of thousands of records, I'm encountering the below issue.Generic failure At line:1 char:1 + Get-DnsServerResourceRecord -ZoneName test.comConvertTo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: PS_DnsServerResourceRecord:r

    :)
     
    aditya_ib_01, Aug 22, 2022
    #1
  2. Peer_Sam Win User

    bug in powershell module Convert*-Json

    Hi Edwin,



    We do have a dedicated support forum for programmers and developers. Since the command uses the ConvertTo-Json and ConvertFrom-Json cmdlets to convert a DateTime object from the Get-Date cmdlet to a JSON object then to a PSCustomObject, I would suggest
    to post your query on MSDN Forums.



    Regards,

    Peer Samie

    Microsoft Community-Forums
     
    Peer_Sam, Aug 22, 2022
    #2
  3. bug in powershell module Convert*-Json

    Hi all,

    The date property goes one day back when I convert it to Json and directly convert it back.

    Get-Date | Select-Object -Property *

    DateTime : monday 18 february 2019 09:45:59

    Date : 18-2-2019 00:00:00

    Get-Date | Select-Object -Property * | ConvertTo-Json | ConvertFrom-Json

    DateTime : monday 18 february 2019 09:45:59

    Date : 17-2-2019 23:00:00

    Looks like a bug to me.......
     
    EdwinSiebrasse, Aug 22, 2022
    #3
  4. DaveM121 Win User

    Powershell: Get-DnsServerResourceRecord -ZoneName test.comConvertTo-Json...

    JSON FILES

    Hi Acemere

    The steps above create a dummy exe file, which you point windows to open json files with, then you delete the dummy exe and restart, When you restart the dummy exe will not exist, so Windows will not know how to open json files and that file association will
    revert to unknown and the icon should be the default white icon . ..
     
    DaveM121, Aug 22, 2022
    #4
Thema:

Powershell: Get-DnsServerResourceRecord -ZoneName test.comConvertTo-Json...

Loading...
  1. Powershell: Get-DnsServerResourceRecord -ZoneName test.comConvertTo-Json... - Similar Threads - Powershell DnsServerResourceRecord ZoneName

  2. Файл .Json

    in Windows 10 Network and Sharing
    Файл .Json: Здравствуйте такая проблема что случайно выбрал что файлы .Json открываются теперь в блокноте, как сделать так что бы у меня был выбор через что я хочу открыть этот файл?...
  3. Powershell: Get-DnsServerResourceRecord -ZoneName test.comConvertTo-Json...

    in Windows 10 Gaming
    Powershell: Get-DnsServerResourceRecord -ZoneName test.comConvertTo-Json...: Hi,I'm working on a project trying to parse the contents of the zones and records.I'm using the below command to get the data in the json format.Get-DnsServerResourceRecord -ZoneName test.comConvertTo-JsonThe command works fine for small amount of data, but when I try to...
  4. JSON FILES

    in Windows 10 Network and Sharing
    JSON FILES: Please help!I accidentally clicked my .json files to always open with windows media player. I want to reset it to where I have the "open as" option again. Can anyone please help?...
  5. JSON FILES

    in Windows 10 Gaming
    JSON FILES: Please help!I accidentally clicked my .json files to always open with windows media player. I want to reset it to where I have the "open as" option again. Can anyone please help?...
  6. JSON FILES

    in Windows 10 Software and Apps
    JSON FILES: Please help!I accidentally clicked my .json files to always open with windows media player. I want to reset it to where I have the "open as" option again. Can anyone please help?...
  7. PowerShell script hanging in Test-NetConnection

    in Windows 10 Network and Sharing
    PowerShell script hanging in Test-NetConnection: The following lines of script extracted from a larger one hangs during the Test-NetConnection cmdlet, waiting for an echo reply from the remote address:Add-Type -AssemblyName System.Windows.Forms$x = New-Object 'System.Windows.Forms.Form'Test-NetConnection -ComputerName...
  8. Json files

    in Windows 10 Network and Sharing
    Json files: Okay, so basically I messed up. I was gonna try seeing what was in a json file by opening it in word, I had forgotten that the specific file would always open with word and I also forgot to uncheck the option to "Always open with this program" So if someone could help me...
  9. bug in powershell module Convert*-Json

    in Windows 10 BSOD Crashes and Debugging
    bug in powershell module Convert*-Json: Hi all, The date property goes one day back when I convert it to Json and directly convert it back. Get-Date | Select-Object -Property * DateTime : monday 18 february 2019 09:45:59 Date : 18-2-2019 00:00:00 Get-Date | Select-Object -Property * |...
  10. JSON FILES

    in Windows 10 Network and Sharing
    JSON FILES: Hey, so I accidentally made my .json files to always open it with notepad. Now, I don't know how to restore it in its original state. Anyone can help? Also, I want the .json file to be a white blank icon again and with the command "open with..." to pop up....