Invoke-LnvCVPolicyManager
1.2.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
FileList
- Invoke-LnvCVPolicyManager.nuspec
- Invoke-LnvCVPolicyManager.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.2.0 (current version) | 10 | 7/16/2026 |
| 1.1.0 | 135 | 5/21/2026 |
| 1.0.0 | 22 | 5/2/2026 |