Unsolved
This post is more than 5 years old
3 Posts
0
15738
February 16th, 2012 02:00
Powershell Bugs With Equallogic Powershell Tools v4.0
Good Morning, I'm experimenting problems with EqlPsTools 4.0.
I've tryied to change TimeZone which is written like this:
PS C:\Windows\system32> Get-EqlGroupConfiguration
GroupTimeZone : VAL_eqlGroupTimeZone_america_New_York
I've tryied to do this:
$OBJConf = Get-EqlGroupConfiguration
$OBJConf.GroupTimeZone = "VAL_eqlGroupTimeZone_europe_Rome"
$OBJConf | Set-EqlGroupConfiguration -GroupAddress "192.168.1.121"
But if I check the conf again, nothing is changed.
I've also tryied to get a configuration object from another equallogic already configured, but it's the same.
GroupTimeZone and EmailSenderName fields doesn't change at all.
Any Idea about this problem? Could it be a bug of the API?
Regards,
Alessio
No Events found!
DELL-Joe S
7 Technologist
•
729 Posts
0
February 16th, 2012 09:00
Sorry but there are some fields that can’t be modified with the EqualLogic PowerShell CmdLets.
To view the complete list of the fields that can be changed use the following commend:
Get-Help SetEqlGroupConfiguration –detail
In this list, you can see that both the GroupTimeZone and EmailSenderName cannot be modified.
The EmailSenderName is synonymous with the GroupName, so you would need to change the GroupName value for EmailSenderName to change (if that is what you really want to do). BTW, the EmailSenderName cannot be updated using the CLI commands either.
The GroupTimeZone isn’t available for cmdlet modification at this time either, but can be changed using the CLI, with the following syntax:
grpparams timezone
Description: Sets the time zone for the group, using a country and city designation. The default is America/New_York.
Format
grpparams timezone [zone]
[zone] = Time zone. To see a list of supported time zones, use the "grpparams timezone ?" command.
Example
> grpparams timezone America/Los_Angeles
So it’s possible to write a perl script to change the timezone.
-Joe
blackms
3 Posts
0
February 17th, 2012 00:00
Thanks for your answer, it's very useful to me.
I have another question, I've configured all interfaces of a new unpacked EQL PS6500X.
I I tried to connect via PowerShell cmdlets and all works, but, when I try to get the configuration of the ethernet interfaces, powershell freeze.
I do:
Connect-EqlGroup -GroupAddress "192.168.1.91" -Username "grpadmin" -Password "xxxxxxxx"
$OBJInt = Get-EqlNetInterface -GroupName "storagedc01c13" -MemberName "storagedc01c13a" -InterfaceName "eth0"
Any idea about the reasons why this happens?
Thank you for your time,
Alessio
DELL-Joe S
7 Technologist
•
729 Posts
0
February 20th, 2012 08:00
No, I'm not sure what is causing the freeze up on your system. I tested the command on a Win7 (32bit) system, and was not able to reproduce the freeze issue that you described.
I tested using all three methods, i.e., within the EqualLogic PowerShell Tool, from the native PowerShell (after importing the EqlPSTools module), and inside the powershell_ISE.
What was the system OS you ran the cmdlets from, Array Firmware, and powershell version?
-joe
blackms
3 Posts
0
February 20th, 2012 09:00
The system is based on Windows 2008 R2 SP1 (64 bit), PowerShell 2.0 and Firmware version is 5.1.1 R185010.
I can make a screenshost but I think it's useless.