We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d239d56 commit b9eaad7Copy full SHA for b9eaad7
UnitySetup/UnitySetup.psm1
@@ -990,10 +990,18 @@ function ConvertTo-DateTime {
990
else { [DateTime]$Text }
991
}
992
993
+<#
994
+.Synopsis
995
+ Get the active Unity licenses for the machine.
996
+.PARAMETER Serial
997
+ Filter licenses to the specified serial
998
+.EXAMPLE
999
+ Get-UnityLicense
1000
+#>
1001
function Get-UnityLicense
1002
{
1003
[CmdletBinding()]
- param([SecureString]$Serial, [UnityVersion]$UnityVersion)
1004
+ param([SecureString]$Serial)
1005
1006
$licenseFiles = Get-ChildItem "C:\ProgramData\Unity\Unity_*.ulf" -ErrorAction 'SilentlyContinue'
1007
foreach ( $licenseFile in $licenseFiles ) {
0 commit comments