< Back

Remove-CUComputer

Mon Jan 13, 2020 5:11 am

NAME Remove-CUComputer



SYNOPSIS

Removes a computer from ControlUp real-time Console.





SYNTAX

Remove-CUComputer [-Name] <bool> [[-Force] <bool>] [[-Batch] <BatchUpdate>] [<CommonParameters>]





DESCRIPTION

Removes a computer from ControlUp real-time Console.



Name indicates the computer that will be removed from ControlUp real-time Console.



Batch instance is optional in case using a batch mode.





PARAMETERS

-Name <bool>



Required? true

Position? 1

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Force <bool>



Required? false

Position? 2

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Batch <BatchUpdate>



Required? false

Position? 3

Default value

Accept pipeline input? true (ByPropertyName)

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

System.Boolean



System.Boolean



ControlUp.PowerShell.User.Cmdlets.BatchUpdate





OUTPUTS



---------- EXAMPLE 1 ----------



Remove-CUComputer -Name ???????John-PC???????



---------- EXAMPLE 2 ----------



$b = New-CUBatchUpdate

Remove-CUComputer -Name ???????John-PC??????? -Batch $b

Remove-CUComputer -Name ???????Jane-PC??????? -Batch $b

Publish-CUUpdates $b



---------- EXAMPLE 3 ----------



$b = New-CUBatchUpdate

Get-CUComputers -FolderPath ???????\\SQL Servers??????? -Match SQLSRV | Remove-CUComputer -Batch $b

Publish-CUUpdates $b





RELATED LINKS