Hello everybody.
Can someone help me getting the "Idera PowerShell Plus" tool, working with PowerCLI?
because when I try to use PowerCLI cmdlets like "Connect-VIServer" it keep telling me that the term don't exist.
The purpose of all that, is to use the Variable inspector of "PowerShell Plus" to analyse my alarm definition object,
and this way recreate my vcenter alarms as default.
Any idea for me?
You need to load the PowerCLI snapin.
Add-PSSnapin VMware.VimAutomation.Core
A good way of doing that is through one of the profile files.
Have a look at Tobias's blog entry Profile: Autostart Scripts
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You need to load the PowerCLI snapin.
Add-PSSnapin VMware.VimAutomation.Core
A good way of doing that is through one of the profile files.
Have a look at Tobias's blog entry Profile: Autostart Scripts
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Again you Luc had the right answer for each of my questions
it's the code part you gave me by email :
$alarmMgr = Get-View AlarmManager
$alarms = $alarmMgr.GetAlarm($null)
$alarms | %{
$alarm
}
used with the snappin, that help me in my alarm analyse
So thanks again luc!