Breaking changes due for VcRedist 4.1 #123
Replies: 11 comments 10 replies
-
Here's some examples of the syntax change change - here's the change in syntax for Old syntax $VcList = Get-VcList
Save-VcRedist -VcList $VcList -Path C:\Temp\VcRedist
Install-VcRedist -VcList $VcList -Path C:\Temp\VcRedist New syntax Get-VcList | Save-VcRedist -Path C:\Temp\VcRedist | Install-VcRedist |
Beta Was this translation helpful? Give feedback.
-
Here's the change in syntax for Old syntax $VcList = Get-VcList
Save-VcRedist -VcList $VcList -Path C:\Temp\VcRedist
Import-VcMdtApplication -VcList $VcList -Path C:\Temp\VcRedist -MdtPath \\server\deployment New syntax Get-VcList | Save-VcRedist -Path C:\Temp\VcRedist | Import-VcMdtApplication -MdtPath \\server\deployment |
Beta Was this translation helpful? Give feedback.
-
Here's the change in syntax for Old syntax $VcList = Get-VcList
Save-VcRedist -VcList $VcList -Path C:\Temp\VcRedist
Import-VcIntuneApplication -VcList $VcList New syntax Get-VcList | Save-VcRedist -Path C:\Temp\VcRedist | Import-VcIntuneApplication |
Beta Was this translation helpful? Give feedback.
-
Here's the change in syntax for Old syntax $VcList = Get-VcList
Save-VcRedist -VcList $VcList -Path C:\Temp\VcRedist
Import-VcConfigMgrApplication -VcList $VcList -Path C:\Temp\VcRedist -CMPath \\server\applications -SMSSiteCode LAB New syntax Get-VcList | Save-VcRedist -Path C:\Temp\VcRedist | Import-VcConfigMgrApplication -CMPath \\server\applications -SMSSiteCode LAB |
Beta Was this translation helpful? Give feedback.
-
Note - I'll push these changes to the PowerShell Gallery on March 1, 2023. |
Beta Was this translation helpful? Give feedback.
-
ah yeah no. I got busy and completely forgot. Let's push this back |
Beta Was this translation helpful? Give feedback.
-
I'll push the updated module to the PowerShell gallery on March 15th. AEST. (i.e. March 14th for those in the US) |
Beta Was this translation helpful? Give feedback.
-
4.1 has now been pushed to the PowerShell Gallery. |
Beta Was this translation helpful? Give feedback.
-
Not really too relevant since you can do If you ever decide to support more than just the English locale, their manifests are an excellent resource. You could even use GitHub Actions to auto-update |
Beta Was this translation helpful? Give feedback.
-
Doesn't this force you to download the redistributables every single time though? What if I want to download them once to a central location and install to several computers from there? Also, it'd be helpful if the documentation at https://vcredist.com/ was updated to reflect these changes. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@aizascha if the vcredists are already downloaded, they won't be redownloaded. |
Beta Was this translation helpful? Give feedback.
-
VcRedist
4.0
will provide mostly under-the-hood code improvements; however, VcRedist4.1
will introduce two breaking changes:Install-VcRedist
,New-VcMdtApplication
,New-VcConfigMgrApplication
,New-VcIntuneApplication
etc., will require output fromSave-VcRedist
instead ofGet-VcList
. This will be done to simplify determining the paths to the downloaded vcredist.exe installers -Get-VcList | Save-VcRedist
returns aPath
property which means that a-Path
parameter will not be required by other functions. This change will require scripts to be updatedBeta Was this translation helpful? Give feedback.
All reactions