Skip to content

Commit a842c10

Browse files
alievertzAndy Lievertz
andauthored
Updated to use Get-OZOUserInteractive from the OZO PowerShell Module; v1.0.1 (#2)
Co-authored-by: Andy Lievertz <[email protected]>
1 parent 304fc03 commit a842c10

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
|Date|Version|Comment|
44
|----|-------|-------|
5+
|2025-Feb-15|1.0.1|Updated to use Get-OZOUserInteractive from the OZO PowerShell Module.|
56
|2025-Feb-15|1.0.0|Initial release.|

ozo-remove-appx-packages.ps1

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#Requires -Modules @{ModuleName="OZO";ModuleVersion="1.4.0"},@{ModuleName="OZOLogger";ModuleVersion="1.1.0"} -RunAsAdministrator
1+
#Requires -Modules @{ModuleName="OZO";ModuleVersion="1.5.0"},@{ModuleName="OZOLogger";ModuleVersion="1.1.0"} -RunAsAdministrator
22

33
<#PSScriptInfo
4-
.VERSION 1.0.0
4+
.VERSION 1.0.1
55
.GUID 26313204-248b-4816-89de-4c605134b2ca
66
.AUTHOR Andy Lievetz <[email protected]>
77
.COMPANYNAME One Zero One
@@ -31,10 +31,6 @@ Param(
3131
[Parameter(Mandatory=$true,HelpMessage="A comma-separated list of packages to remove")][Array] $Packages
3232
)
3333

34-
Function Get-OZOUserInteractive {
35-
return [Environment]::UserInteractive
36-
}
37-
3834
# MAIN
3935
# Variables
4036
[Array] $AppxPackages = (Get-AppxPackage)

0 commit comments

Comments
 (0)