Skip to content
Powershell Module for Fritz!Box
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
Tests
docs/en-US
src
.gitignore
CHANGELOG.md
ExamplePhonebook.csv
ExampleUpdateFBPhonebook.ps1
Install.ps1
Install_Module_Source.ps1
LICENSE.txt
README.md
ScriptAnalyzerSettings.psd1
build.ps1
krFBConnector.psd1
krFBConnector.psm1
psake.ps1

README.md

Fritz!Box Connector

Windows Powershell module which use the Fritz!Box TR64-Api Webservices. In a first version cmdlets for creating and updating Fritz!Box phonebooks are implemented.

Installation

To install the module in the personal modules folder run:

iex (new-object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/krehberger/krFBConnector/master/Install.ps1')

*** Important ***

When using the cmdlet 'Get-FBOlContacts':
If you have a 32 bit version of office installed, Powershell should also be running from x86 and not 64 bit!
If the module 'krFBConnector' cannot be loaded please check your Powershell ExecutionPolicy with

Get-Executionpolicy

and set it to 'RemoteSigned' with

Set-Executionpolicy RemoteSigned -scope CurrentUser

if necessary.

Features

Currently the following cmdlets are implemented:

  • Add-FBPhonebook
    Adds a new phone book to the Fritz!Box.

  • Update-FBPhonebook
    Updates the Fritz!Box phone book with contacts from Microsoft Outlook. If the phone book to be updated does not exist, a new one is created.

  • Set-FBPhonebookEntry
    Adds new phone book entries to a Fritz!Box phonebook.

  • Remove-FBPhonebook
    Removes a phone book from the Fritz!Box.

  • Get-FBPhonebookList
    Shows all available phone books on the Fritz!Box.

  • Get-FBPhonebook
    Exports a Fritz!Box phone book to an xml file.

  • Get-FBOlContacts
    Reads Microsoft Outlook contacts.

  • Get-FBCSVContacts
    Reads contacts from an CSV file.
    The CSV file must have the following fields:

Categories, CreationTime, LastModificationTime, FullName, FileAs, BusinessTelephoneNumber, Business2TelephoneNumber, HomeTelephoneNumber, Home2TelephoneNumber, MobileTelephoneNumber, OtherTelephoneNumber, BusinessFaxNumber, HomeFaxNumber, OtherFaxNumber, Sensitivity
  • Get-FBExternalIP
    Get's the external IP address

  • New-FBShortcut
    Creates a shortcut on the Desktop and the Startmenu for updating your Fritz!Box phonebook

Usage Examples

Add-FBPhonebook

Add-FBPhoenbook -phonebookName MyPhonebook

Update-FBPhonebook

Update-FBPhonebook -pbName MyPhonebook
Update-FBPhonebook -pbID 1 -category FritzBox -pbName MyPhoenbook

Get-FBOlContacts

Get-FBOlContacts -category FritzBox -CreateCSV  csvFilePath "c:\temp"
Get-FBOlContacts

Set-FBPhonebookEntry

Get-FBOlContacts -category FritzBox | Set-FBPhonebookEntry -phonebookID 2
You can’t perform that action at this time.