Invoke-LnvCVPolicyManager
1.3.0
Create configuration policy for Lenovo Commercial Vantage that can be deployed from Intune.
Installation Options
Owners
Copyright
(c) 2026 Lenovo
Package Details
Author(s)
- Phil Jorgensen
Functions
Set-CVTheme Write-CVLog Import-CVPolicy Get-OmaValue New-DataElementControl New-PolicyCard Show-AuthenticationDialog Connect-ToGraph Connect-Tenant Disconnect-Tenant New-IntuneCustomProfile New-IntuneAdmxProfile Update-PolicyCount Show-Welcome Show-RecommendedBaseline Show-Policy Update-NavTreeItemFontWeight Update-NavTreeFontWeight
Dependencies
This script has no dependencies.
Release Notes
1.0.0 - Initial release
1.1.0
- Embedded CommercialVantage.admx in the script as a here-string variable
- Added a "Create ADMX Profile" button that posts a separate Custom OMA-URI profile dedicated to ingesting the ADMX (./Device/Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/CommercialVantage/Policy/CommercialVantageAdmx) as a String setting
- Normalize the embedded ADMX before sending (strip BOM, collapse CRLF to LF, trim here-string boundaries)
- Surface the Microsoft Graph error response body in the log and failure dialog when profile creation fails
- Footer button row no longer clips "Create Intune Profile" at the default window width -- the Description box column now flexes so the buttons always get their full width
1.2.0
- Refreshed the embedded CommercialVantage.admx to Commercial Vantage 20.2603.19.0 (adds Clean your device, Turn on BITS, Reboot delay, and Show Pre-Install Notification; renames Modes to Smart modes)
- Added a single $script:CommercialVantageVersion constant next to the embedded ADMX so the version suffix on both the ADMX ingestion profile name and the default policy profile name track the embedded ADMX from one place
- Sorted the Auto Update policies alphabetically (ascending) so the tree order matches the documentation
1.3.0
- Refreshed the embedded CommercialVantage.admx to Commercial Vantage 20.2606.24.0
- Adds Turn off Smart Meeting Assistant (Device > Device Settings) and Disable Retry if Scheduled Run is Missed (Device > Auto Update)
- Hardware Scan category was renamed to Device Diagnostics upstream, which changed both the category and policy node IDs. The OMA-URI for Turn Off Hardware Scan changed as a result -- profiles created before this release target the old path and stop applying once the new ADMX is ingested; recreate them from this version
FileList
- Invoke-LnvCVPolicyManager.nuspec
- Invoke-LnvCVPolicyManager.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.3.0 (current version) | 24 | 9/24/2026 |
| 1.2.0 | 132 | 7/16/2026 |
| 1.1.0 | 138 | 5/21/2026 |
| 1.0.0 | 24 | 5/2/2026 |