Integration

Table Of Contents
Displaying Event Reports
You can use View PowerCLI cmdlets to display event reports.
Table 322. Examples of Common Event Reporting Tasks
Task Example View PowerCLI cmdlet Syntax
List all the available event reporting
views
Get-EventReportList
Display all the configuration change
events that occurred after a specific date
Get-EventReport -viewName config_changes -startDate (Get-Date
-Year 2011 -Month 5 -Day 20 -Hour 0 -Minute 0 -Second 0)
Display all the user events that occurred
between two specific dates
Get-EventReport -viewName user_events -startDate (Get-Date -
Year 2011 -Month 12 -Day 1 -Hour 0 -Minute 0 -Second 0) -
endDate (Get-Date -Year 2011 -Month 12 -Day 2 -Hour 0 -Minute
0 -Second 0)
Display all the user events that occurred
during for the last 24 hours
Get-EventReport -viewName user_events -startDate ((Get-
Date).AddDays(-1))
Display all the user events that occurred
during the current year
Get-EventReport -viewName user_events -startDate (Get-Date -
Day 01 -Month 01 -Hour 0 -Minute 0 -Second 0)
Displaying and Updating Global Settings
You can use View PowerCLI cmdlets to display and update global settings for View.
Table 323. Examples of Common Global Settings Management Tasks
Task Example View PowerCLI cmdlet Syntax
Display the global settings
Get-GlobalSetting
Update the session timeout setting
Update-GlobalSetting -SessionTimeout 1800
Update the forced logout warning message
and delay period
Update-GlobalSetting -DisplayLogoffWarning $true -
ForcedLogoffAfter $logoutdelay -ForcedLogoffMessage "Forced
log out will occur in $logoutdelay minutes"
Require clients to use SSL to connect and set
the prelogin message
Update-GlobalSetting -UseSSLClient $true -PreLoginMessage
"Insert disclaimer and other notices here."
Displaying and Adding License Keys
You can use the Get-License and Set-License cmdlets to display and add license keys for View.
In this example, the Get-License cmdlet displays the installed license keys.
Get-License
In this example, the Set-License cmdlet adds a license key.
Set-License -key "08A25-0212B-0212C-4D42E"
View Integration
44 VMware, Inc.