Integration
Table Of Contents
- View Integration
- Contents
- View Integration
- Introduction to View Integration
- Integrating View with the Event Database
- Using View PowerCLI
- Getting Started with View PowerCLI
- View Administrator, View PowerCLI, and vdmadmin Compared
- View PowerCLI cmdlet Reference
- View PowerCLI cmdlet Parameters
- Examples of Using View PowerCLI cmdlets
- Managing View Connection Server Instances
- Managing vCenter Server Instances in View
- Managing Desktop Pools
- Creating and Updating Automatically Provisioned Desktop Pools
- Creating and Updating Linked-Clone Desktop Pools
- Creating and Updating Manually Provisioned Desktop Pools
- Creating and Updating Manual Unmanaged Desktop Pools
- Displaying Information About Users and Groups
- Managing Desktop Entitlements
- Managing Remote Sessions
- Managing Virtual Machines
- Displaying Information About Physical Machines
- Updating Virtual Machine Ownership
- Displaying Event Reports
- Displaying and Updating Global Settings
- Displaying and Adding License Keys
- Examples of Using View PowerCLI to Perform Advanced Tasks
- Assigning Multiple Network Labels to a Desktop Pool
- Network Label Configuration File Format
- Example Network Label Configuration File
- Obtain and Export NIC and Network Label Information
- Verify and Edit a Network Label Configuration File
- Deploy a Desktop Pool That Uses Multiple Network Labels
- Displaying Network Label Assignments for a Pool
- Displaying Network Label Assignments for a Virtual Machine
- Displaying vCenter Server Network Label Assignments for a Virtual Machine
- Disable Automatic Network Label Assignments
- Customizing LDAP Data
- Integrating View with Microsoft SCOM
- Setting Up a SCOM Integration
- Assign a Name to the View Connection Server Group
- View Management Packs
- Import the View Management Packs on the SCOM Server
- Enable a Proxy Agent on a View Connection Server Host or Security Server
- Run the Discovery Script in the Operations Manager Console
- View Connection Server and Security Server Managed Objects
- View Object Classes and Relationships
- Monitoring View in the Operations Manager Console
- Setting Up a SCOM Integration
- Examining PCoIP Session Statistics with WMI
- Setting Desktop Policies with Start Session Scripts
- Index
Displaying Event Reports
You can use View PowerCLI cmdlets to display event reports.
Table 3‑22. 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 3‑23. 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.










