-
Notifications
You must be signed in to change notification settings - Fork 0
Register AvmApp
Action: RegisterApp
Available on: ✅ FRITZ!Box / 🚫 FRITZ!Repeater
Status: ✅
Remote access: 🚫
Required rights: 🔧 / ☎️ / 🖴 / 🏠
This function returns registers a new app instance. A new app instance is created if an app instance with identifier AppId does not already exists. Otherwise the existing app instance is overwritten (any VoIP and VPN configuration of this app instance is deleted).
In case NewAppInternetRights is true and the app instance will get access rights from the internet and new port forwardings must be (automatically) activated (e.g. for HTTPS and FTP) configuration rights (write access) are required.
The effective access rights of the app instance are determined by the intersection of these rights and the rights of the box user of the security context this action was called in. Specific NAS directory access rights are not included in this parameter but determined by the box user only
Input:
| Data type | Variable | Example or Description |
|---|---|---|
| String | NewAppId | 1 |
| String | NewAppDisplayName | AppName |
| String | NewAppDeviceMAC | 1A:2B:3C:1A:2B:3C |
| String | NewAppUsername | AppUsername |
| SecureString | NewAppPassword | AppPassword as PowerShell SecureString |
| RightEnum | NewAppRight | NO, RO, RW, UNDEFINED |
| RightEnum | NewNasRight | NO, RO, RW, UNDEFINED |
| RightEnum | NewPhoneRight | NO, RO, RW, UNDEFINED |
| RightEnum | NewHomeautoRight | NO, RO, RW, UNDEFINED |
| Boolean | NewAppInternetRights | 0 |
Output:
| Data type | Variable | Example |
|---|---|---|
| String | u | urn:dslforum-org:service:X_AVM-DE_AppSetup:1 |
Register-AvmApp
[-Insecure]
[-RemoteAccess]
[-Url <String>]
[-Port <Ushort>]
[-Credential <PSCredential>]
[-NewAppId <String>]
[-NewAppDisplayName <String>]
[-NewAppDeviceMAC <String>]
[-NewAppUsername <String>]
[-NewAppPassword <SecureString>]
[-NewAppRight <RightEnum>]
[-NewNasRight <RightEnum>]
[-NewPhoneRight <RightEnum>]
[-NewHomeautoRight <RightEnum>]
[-NewAppInternetRights <Boolean>]This example describes how to run the command using local connection with a valid certificate.
[PSCredential]$Credential = Import-Clixml -Path "${env:APPDATA}\PScred\avmtools-credential.xml"
[SecureString]$NewAppPassword = Get-Content -Path "${env:APPDATA}\PScred\function-password.txt" | ConvertTo-SecureString
$splatParameters = @{
Url = "https://fritz.box"
Port = 49443
Credential = $Credential
NewAppId = "1"
NewAppDisplayName = "AppName"
NewAppDeviceMAC = "1A:2B:3C:1A:2B:3C"
NewAppUsername = "Username"
NewAppPassword = $NewAppPassword
NewAppRight = "RW"
NewNasRight = "RW"
NewPhoneRight = "RW"
NewHomeautoRight = "RW"
NewAppInternetRights = 1
}
Register-AvmApp @splatParametersIP address can be used instead of DNS name.
[PSCredential]$Credential = Import-Clixml -Path "${env:APPDATA}\PScred\avmtools-credential.xml"
[SecureString]$NewAppPassword = Get-Content -Path "${env:APPDATA}\PScred\function-password.txt" | ConvertTo-SecureString
$splatParameters = @{
Url = "https://192.168.178.1"
Port = 49443
Credential = $Credential
NewAppId = "1"
NewAppDisplayName = "AppName"
NewAppDeviceMAC = "1A:2B:3C:1A:2B:3C"
NewAppUsername = "Username"
NewAppPassword = $NewAppPassword
NewAppRight = "RW"
NewNasRight = "RW"
NewPhoneRight = "RW"
NewHomeautoRight = "RW"
NewAppInternetRights = 1
}
Register-AvmApp @splatParametersThis example describes how to run the command using local connection without a valid certificate.
[PSCredential]$Credential = Import-Clixml -Path "${env:APPDATA}\PScred\avmtools-credential.xml"
[SecureString]$NewAppPassword = Get-Content -Path "${env:APPDATA}\PScred\function-password.txt" | ConvertTo-SecureString
$splatParameters = @{
Insecure = $true
Url = "http://fritz.box"
Port = 49000
Credential = $Credential
NewAppId = "1"
NewAppDisplayName = "AppName"
NewAppDeviceMAC = "1A:2B:3C:1A:2B:3C"
NewAppUsername = "Username"
NewAppPassword = $NewAppPassword
NewAppRight = "RW"
NewNasRight = "RW"
NewPhoneRight = "RW"
NewHomeautoRight = "RW"
NewAppInternetRights = 1
}
Register-AvmApp @splatParametersIP address can be used instead of DNS name.
[PSCredential]$Credential = Import-Clixml -Path "${env:APPDATA}\PScred\avmtools-credential.xml"
[SecureString]$NewAppPassword = Get-Content -Path "${env:APPDATA}\PScred\function-password.txt" | ConvertTo-SecureString
$splatParameters = @{
Insecure = $true
Url = "http://192.168.178.1"
Port = 49000
Credential = $Credential
NewAppId = "1"
NewAppDisplayName = "AppName"
NewAppDeviceMAC = "1A:2B:3C:1A:2B:3C"
NewAppUsername = "Username"
NewAppPassword = $NewAppPassword
NewAppRight = "RW"
NewNasRight = "RW"
NewPhoneRight = "RW"
NewHomeautoRight = "RW"
NewAppInternetRights = 1
}
Register-AvmApp @splatParametersCopyright ©️ 2020 Gincules. All rights reserved.
- Home
- AppSetup
- Auth
- Dect
- DeviceConfig
- DeviceInfo
- Filelinks
- Homeauto
- Homeplug
- HostFilter
- Hosts
- Find-AvmHostUpdate
- Get-AvmHostAutoWakeOnLanByMac
- Get-AvmHostChangeCounter
- Get-AvmHostGenericHostEntry
- Get-AvmHostListPath
- Get-AvmHostMeshListPath
- Get-AvmHostNumberOfEntry
- Get-AvmHostSpecificEntryByIp
- Get-AvmHostSpecificHostEntry
- Set-AvmHostAutoWakeOnLanByMac
- Set-AvmHostNameByMac
- Start-AvmHostWakeOnLanByMac
- Update-AvmHost
- LANConfigSecurity
- LANEthernetInterfaceConfig
- LANHostConfigManagement
- Layer3Forwarding
- ManagementServer
- MyFritz
- OnTel
- Enable-AvmOnTel
- Enable-AvmOnTelByIndex
- Enable-AvmOnTelConfigByIndex
- Enable-AvmOnTelDeflection
- Get-AvmOnCallBarringEntry
- Get-AvmOnTelBarringEntryByNum
- Get-AvmOnTelCallBarringList
- Get-AvmOnTelCallList
- Get-AvmOnTelDectHandsetInfo
- Get-AvmOnTelDectHandsetList
- Get-AvmOnTelDeflection
- Get-AvmOnTelDeflectionById
- Get-AvmOnTelInfo
- Get-AvmOnTelInfoByIndex
- Get-AvmOnTelNumberOfDeflection
- Get-AvmOnTelNumberOfEntry
- Get-AvmOnTelPhonebookEntry
- Get-AvmOnTelPhonebookEntryUid
- Get-AvmOnTelPhonebookList
- Get-AvmOnTelPhonelist
- New-AvmOnTelPhonebook
- Remove-AvmOnTelByIndex
- Remove-AvmOnTelCallBarringEntryUid
- Remove-AvmOnTelPhonebook
- Remove-AvmOnTelPhonebookEntry
- Remove-AvmOnTelPhoneEntryByUid
- Set-AvmOnTelCallBarringEntry
- Set-AvmOnTelConfig
- Set-AvmOnTelDectHandsetPhonebook
- Set-AvmOnTelPhonebookEntry
- Set-AvmOnTelPhonebookEntryUid
- RemoteAccess
- Speedtest
- Storage
- TAM
- Time
- UPnP
- UserInterface
- VoIP
- Add-AvmVoipAccount
- Get-AvmVoipAccount
- Get-AvmVoipAlarmClock
- Get-AvmVoipClient
- Get-AvmVoipClient2
- Get-AvmVoipClient3
- Get-AvmVoipClientByIp
- Get-AvmVoipClients
- Get-AvmVoipCommonAreaCode
- Get-AvmVoipCommonCountryCode
- Get-AvmVoipDialConfig
- Get-AvmVoipEnableAreaCode
- Get-AvmVoipEnableCountryCode
- Get-AvmVoipExistingNumbers
- Get-AvmVoipInfo
- Get-AvmVoipInfoEx
- Get-AvmVoipMaxNumber
- Get-AvmVoipNumber
- Get-AvmVoipNumberOfAlarmClock
- Get-AvmVoipNumberOfClient
- Get-AvmVoipNumberOfNumber
- Get-AvmVoipPhonePort
- Remove-AvmVoipAccount
- Remove-AvmVoipClient
- Set-AvmVoipAlarmClockEnable
- Set-AvmVoipClient
- Set-AvmVoipClient2
- Set-AvmVoipClient3
- Set-AvmVoipClient4
- Set-AvmVoipCommonAreaCode
- Set-AvmVoipCommonCountryCode
- Set-AvmVoipConfig
- Set-AvmVoipDelayedCallNotification
- Set-AvmVoipDialConfig
- Set-AvmVoipEnableAreaCode
- Set-AvmVoipEnableCountryCode
- Start-AvmVoipDial
- Stop-AvmVoipDial
- WANCommonInterfaceConfig
- WANDSLInterfaceConfig
- WANDSLLinkConfig
- WANEthernetLinkConfig
- WANIPConnection
- Add-AvmIpPortMapping
- Get-AvmIpDnsServer
- Get-AvmIpExternalAddress
- Get-AvmIpGenericPortMappingEntry
- Get-AvmIpInfo
- Get-AvmIpConnectionTypeInfo
- Get-AvmIpNatRsipStatus
- Get-AvmIpPortMappingEntry
- Get-AvmIpSpecificPortMappingEntry
- Get-AvmIpStatusInfo
- Remove-AvmIpPortMapping
- Set-AvmIpConnectionTrigger
- Set-AvmIpConnectionType
- Set-AvmIpIdleDisconnectTime
- Set-AvmIpRouteProtocolRx
- Start-AvmIpConnection
- Stop-AvmIpConnection
- WANPPPConnection
- Add-AvmPppPortMapping
- Get-AvmPppAutoDisconnectTimeSpan
- Get-AvmPppDnsServer
- Get-AvmPppExternalIpAddress
- Get-AvmPppGenericPortMappingEntry
- Get-AvmPppInfo
- Get-AvmPppLinkLayerMaxBitRate
- Get-AvmPppNatRsipStatus
- Get-AvmPppPortMappingNoOfEntry
- Get-AvmPppSpecificPortMappingEntry
- Get-AvmPppStatusInfo
- Get-AvmPppTypeInfo
- Get-AvmPppUserName
- Remove-AvmPppPortMapping
- Set-AvmPppAutoDisconnectTimeSpan
- Set-AvmPppIdleDisconnectTime
- Set-AvmPppPassword
- Set-AvmPppRouteProtocolRx
- Set-AvmPppTrigger
- Set-AvmPppType
- Set-AvmPppUserName
- Start-AvmPppConnection
- Stop-AvmPppConnection
- WebDAVClient
- WLANConfiguration
- Get-AvmWlanBeaconAdvertisement
- Get-AvmWlanBeaconType
- Get-AvmWlanBssid
- Get-AvmWlanChannelInfo
- Get-AvmWlanConfigurationInfo
- Get-AvmWlanConnectionInfo
- Get-AvmWlanDeviceListPath
- Get-AvmWlanExternalInfo
- Get-AvmWlanGenericDeviceInfo
- Get-AvmWlanHybridMode
- Get-AvmWlanIptvOptimized
- Get-AvmWlanNightControl
- Get-AvmWlanPacketStatistic
- Get-AvmWlanSecruityProperty
- Get-AvmWlanSecurityKey
- Get-AvmWlanSpecificDeviceInfo
- Get-AvmWlanSpecificDeviceInfoByIp
- Get-AvmWlanSsid
- Get-AvmWlanStatistic
- Get-AvmWlanTotalAssociation
- Get-AvmWlanWepKeyIndex
- Get-AvmWlanWpsInfo
- Set-AvmWlanConfig
- Set-AvmWlanBasBeaconSecProperty
- Set-AvmWlanBeaconAdvertisment
- Set-AvmWlanBeaconType
- Set-AvmWlanChannel
- Set-AvmWlanDefaultWepKeyIndex
- Set-AvmWlanEnable
- Set-AvmWlanGlobalEnable
- Set-AvmWlanHighFrequencyBand
- Set-AvmWlanHybridMode
- Set-AvmWlanIptvOptimized
- Set-AvmWlanSsid
- Set-AvmWlanStickSurfEnable
- Set-AvmWlanWepSecurityKey
- Set-AvmWlanWpsConfig