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:
@@ -58,6 +58,11 @@ The current 25H2 build of Windows 11 and future builds will include increasingly
|
|||||||
```PowerShell
|
```PowerShell
|
||||||
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1")))
|
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1")))
|
||||||
```
|
```
|
||||||
|
### Compact Command:
|
||||||
|
##### Link shortened using open source link shortener: https://kutt.it/
|
||||||
|
```PowerShell
|
||||||
|
& ([scriptblock]::Create((irm 'https://kutt.it/RWAI')))
|
||||||
|
```
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Click to View UI</summary>
|
<summary>Click to View UI</summary>
|
||||||
|
|||||||
@@ -352,7 +352,7 @@ function Disable-Registry-Keys {
|
|||||||
}
|
}
|
||||||
if (!$revert) {
|
if (!$revert) {
|
||||||
#remove conversational agent service (used to be used for cortana, prob going to be updated for new ai agents and copilot)
|
#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 ($aarSVCName) {
|
||||||
if ($backup) {
|
if ($backup) {
|
||||||
|
|||||||
Reference in New Issue
Block a user