Skip to content

Commit 4b2d207

Browse files
authored
Add Example
1 parent 4d26acf commit 4b2d207

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Powershell/Erase-BaseManagedEntity.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,9 +542,11 @@ if ($ManagementServer -or $SqlServer -or $Database -or $Servers -or $AssumeYes -
542542
}
543543
else
544544
{
545-
<# Edit line 549 to modify the default command run when this script is executed.
545+
<# Edit line 551 to modify the default command run when this script is executed.
546546
Example:
547547
Erase-BaseManagedEntity -ManagementServer MS1-2019.contoso.com -SqlServer SQL-2019\SCOM2019 -Database OperationsManager -Servers Agent1.contoso.com, Agent2.contoso.com
548+
or
549+
Erase-BaseManagedEntity -Servers Agent1.contoso.com
548550
#>
549551
Erase-BaseManagedEntity
550552
}

0 commit comments

Comments
 (0)