Output Lists to a file RRS feed

  • Question

  • Hello,

    How can I output my whitelists, IP Addresses, blacklists, etc to a file? Can someone post the powershell cmdlet for me?

    I know to view the blocked ip's I use this: Get-IPBlockListEntry

    What would I add to output that to ipblocklist.txt?

    Is it the same cmdlet for all your lists?


    Monday, February 11, 2019 9:18 PM


  • Hi,

    Get-IPBlockListEntry >>C:\ipblocklist.txt
    Get-IPallowListEntry >>C:\ipallowlist.txt

    Thanks, Ashish (I can be wrong but can't be rude) “Tell me and I forget, teach me and I may remember, involve me and I learn.” MCITP, MCT, MCSE. Please remember to vote and mark the replies as answers if they help.

    • Marked as answer by ParaGuy Tuesday, February 12, 2019 1:33 AM
    Monday, February 11, 2019 10:58 PM