diff --git a/Private/Expand-IntuneWin32AppCompressedFile.ps1 b/Private/Expand-IntuneWin32AppCompressedFile.ps1 index 8644b74..9627c16 100644 --- a/Private/Expand-IntuneWin32AppCompressedFile.ps1 +++ b/Private/Expand-IntuneWin32AppCompressedFile.ps1 @@ -93,7 +93,7 @@ function Expand-IntuneWin32AppCompressedFile { } } catch [System.Exception] { - Write-Warning -Message "An error occurred while extracing '$($FileName)' from '$($FilePath)' file. Error message: $($_.Exception.Message)" + Write-Warning -Message "An error occurred while extracting '$($FileName)' from '$($FilePath)' file. Error message: $($_.Exception.Message)" } } catch [System.Exception] { diff --git a/Public/Add-IntuneWin32AppDependency.ps1 b/Public/Add-IntuneWin32AppDependency.ps1 index b99fee1..5791179 100644 --- a/Public/Add-IntuneWin32AppDependency.ps1 +++ b/Public/Add-IntuneWin32AppDependency.ps1 @@ -80,12 +80,12 @@ function Add-IntuneWin32AppDependency { } else { $DependencyItems = -join@($Dependency.targetId, ", ") - Write-Warning -Message "A Win32 app cannot be used to dependend on itself, please specify a valid array or single object for dependency" + Write-Warning -Message "A Win32 app cannot be used to dependant on itself, please specify a valid array or single object for dependency" Write-Warning -Message "Win32 app with ID '$($Win32AppID)' is set as parent for dependency configuration, and was also found in child items: $($DependencyItems)" } } else { - Write-Warning -Message "Existing supersedence relation configuration exists for Win32 app, dependency is not allowed to be configured at this point" + Write-Warning -Message "Existing supersedence relationship exists for Win32 app, dependency is not allowed to be configured at this point" } } else { diff --git a/Public/Expand-IntuneWin32AppPackage.ps1 b/Public/Expand-IntuneWin32AppPackage.ps1 index 62bd027..c47e5fc 100644 --- a/Public/Expand-IntuneWin32AppPackage.ps1 +++ b/Public/Expand-IntuneWin32AppPackage.ps1 @@ -130,7 +130,7 @@ function Expand-IntuneWin32AppPackage { try { # Open source filestream for read-only - Write-Verbose -Message "Attepmting to open extracted .intunewin file: $($ExtractedIntuneWinFile)" + Write-Verbose -Message "Attempting to open extracted .intunewin file: $($ExtractedIntuneWinFile)" [System.IO.FileStream]$FileStreamSource = [System.IO.File]::Open($ExtractedIntuneWinFile, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read, [System.IO.FileShare]::None) $FileStreamSourceSeek = $FileStreamSource.Seek(48l, [System.IO.SeekOrigin]::Begin) @@ -171,7 +171,7 @@ function Expand-IntuneWin32AppPackage { } } catch [System.Exception] { - Write-Warning -Message "An error occurred while extracing encoded .intunewin file from inside Contents folder of the Win32 application package. Error message: $($_.Exception.Message)" + Write-Warning -Message "An error occurred while extracting encoded .intunewin file from inside Contents folder of the Win32 application package. Error message: $($_.Exception.Message)" } } } diff --git a/Public/Get-IntuneWin32AppMetaData.ps1 b/Public/Get-IntuneWin32AppMetaData.ps1 index 0a4af0c..9df730e 100644 --- a/Public/Get-IntuneWin32AppMetaData.ps1 +++ b/Public/Get-IntuneWin32AppMetaData.ps1 @@ -58,7 +58,7 @@ function Get-IntuneWin32AppMetaData { } Process { try { - # Attemp to open compressed .intunewin archive file from parameter input + # Attempt to open compressed .intunewin archive file from parameter input $IntuneWin32AppFile = [System.IO.Compression.ZipFile]::OpenRead($FilePath) # Attempt to extract meta data from .intunewin file diff --git a/Public/New-IntuneWin32AppPackage.ps1 b/Public/New-IntuneWin32AppPackage.ps1 index 99f53a7..ebbec98 100644 --- a/Public/New-IntuneWin32AppPackage.ps1 +++ b/Public/New-IntuneWin32AppPackage.ps1 @@ -125,7 +125,7 @@ function New-IntuneWin32AppPackage { } } else { - Write-Warning -Message "Unexpect error occurred while packaging Win32 app. Return code from invocation: $($PackageInvocation.ExitCode)" + Write-Warning -Message "Unexpected error occurred while packaging Win32 app. Return code from invocation: $($PackageInvocation.ExitCode)" } } }