-
hello,
I can't find this function in v0.7.0 is there un other way? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @jclbc There is always the cmdlet... what do you have when you use Get-Command -Module PowerArubaCP ? |
Beta Was this translation helpful? Give feedback.
-
hi @alagoutte, please find my outputs: Get-Command -Module PowerArubaCP
...
Function Set-ArubaCPAttributesMember 0.7.0 PowerArubaCP
Function Set-ArubaCPCipherSSL 0.7.0 PowerArubaCP
Function Set-ArubaCPEndpoint 0.7.0 PowerArubaCP
Function Set-ArubaCPLocalUser 0.7.0 PowerArubaCP
Function Set-ArubaCPNetworkDevice 0.7.0 PowerArubaCP
Function Set-ArubaCPNetworkDeviceGroup 0.7.0 PowerArubaCP
Function Set-ArubaCPRole 0.7.0 PowerArubaCP
Function Set-ArubaCPStaticHostList 0.7.0 PowerArubaCP
Function Set-ArubaCPuntrustedSSL 0.7.0 PowerArubaCP
Function Set-ArubaCPVmAddLicencePlatform 0.7.0 PowerArubaCP
Function Set-ArubaCPVmApiClient 0.7.0 PowerArubaCP
Function Set-ArubaCPVmFirstBoot 0.7.0 PowerArubaCP
Function Set-ArubaCPVmSetup 0.7.0 PowerArubaCP
Function Set-ArubaCPVmUpdate 0.7.0 PowerArubaCP
Function Show-ArubaCPException 0.7.0 PowerArubaCP
> Get-ArubaCPEndpoint -mac_address 01-02-03-04-05-06 | Set-ArubaCPEndpoint -attributes @{"Enabled by"= "testJC"}
Set-ArubaCPEndpoint : Impossible de trouver un paramètre correspondant au nom « attributes ».
Au caractère Ligne:1 : 74
+ ... c_address 01-02-03-04-05-06 | Set-ArubaCPEndpoint -attributes @{"Enab ...
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidArgument : (:) [Set-ArubaCPEndpoint], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-ArubaCPEndpoint
> $ep=(Get-ArubaCPEndpoint -mac_address 01-02-03-04-05-06)
> $ep
id : 34723
mac_address : 010203040506
description : testJC
status : Known
attributes :
_links : @{self=}
> Set-ArubaCPEndpoint -ep $ep -attributes @{"Enabled by"= "testJC"}
Set-ArubaCPEndpoint : Impossible de trouver un paramètre correspondant au nom « attributes ».
Au caractère Ligne:1 : 29
+ Set-ArubaCPEndpoint -ep $ep -attributes @{"Enabled by"= "testJC"}
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidArgument : (:) [Set-ArubaCPEndpoint], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-ArubaCPEndpoint |
Beta Was this translation helpful? Give feedback.
-
Yes, there is change with 0.6.0, you need to use now Add/Set/Remove-ArubaCPAttributesMember (#69) |
Beta Was this translation helpful? Give feedback.
-
Many thanks! |
Beta Was this translation helpful? Give feedback.
Yes, there is change with 0.6.0, you need to use now Add/Set/Remove-ArubaCPAttributesMember (#69)