< Back
Uninstall-OmsAgent
Post
NAME Uninstall-OmsAgent
SYNOPSIS
Un-installs the OMS agent on remote computers.
SYNTAX
Uninstall-OmsAgent [[-computerName] <String[]>] [-Credential <PSCredential>] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Un-installs the OMS agent on remote computers.
PARAMETERS
-computerName <String[]>
Required? false
Position? 1
Default value $env:COMPUTERNAME
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Credential <PSCredential>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Written by Ben Taylor
Version 1.0, 31.07.2016
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Uninstall-OmsAgent -computerName 'computer1', 'computer2' -Verbose
RELATED LINKS
SYNOPSIS
Un-installs the OMS agent on remote computers.
SYNTAX
Uninstall-OmsAgent [[-computerName] <String[]>] [-Credential <PSCredential>] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Un-installs the OMS agent on remote computers.
PARAMETERS
-computerName <String[]>
Required? false
Position? 1
Default value $env:COMPUTERNAME
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Credential <PSCredential>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Written by Ben Taylor
Version 1.0, 31.07.2016
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Uninstall-OmsAgent -computerName 'computer1', 'computer2' -Verbose
RELATED LINKS