mirror of
https://github.com/rvrsh3ll/Misc-Powershell-Scripts
synced 2026-06-21 14:09:04 +00:00
Update Invoke-DCOM.ps1
This commit is contained in:
+2
-2
@@ -39,8 +39,8 @@ function Invoke-DCOM {
|
||||
.EXAMPLE
|
||||
|
||||
Import-Module .\Invoke-DCOM.ps1
|
||||
Invoke-DCOM -Target '192.168.2.100' -Method MMC20 -Command
|
||||
Invoke-DCOM -Target '192.168.2.100' -Method ServiceStart "MyService"
|
||||
Invoke-DCOM -Target '192.168.2.100' -Type MMC20 -Command "calc.exe"
|
||||
Invoke-DCOM -Target '192.168.2.100' -Type ServiceStart "MyService"
|
||||
#>
|
||||
|
||||
[CmdletBinding()]
|
||||
|
||||
Reference in New Issue
Block a user