mirror of
https://github.com/zoicware/RemoveWindowsAI.git
synced 2025-12-17 07:06:29 +01:00
add compact command
This commit is contained in:
@@ -352,7 +352,7 @@ function Disable-Registry-Keys {
|
||||
}
|
||||
if (!$revert) {
|
||||
#remove conversational agent service (used to be used for cortana, prob going to be updated for new ai agents and copilot)
|
||||
$aarSVCName = (Get-Service | Where-Object { $_.name -like '*aarsvc*' }).Name
|
||||
$aarSVCName = (Get-Service -ErrorAction SilentlyContinue | Where-Object { $_.name -like '*aarsvc*' }).Name
|
||||
|
||||
if ($aarSVCName) {
|
||||
if ($backup) {
|
||||
|
||||
Reference in New Issue
Block a user