Support :
If you purchased services through a reseller, please contact your reseller for support
Learn more about Intermedia
Knowledge Base

Remove-OrganizationalUnit

Article ID: 23279 Last updated on 5/28/2020 9:32:06 AM Product: HostPilot PowerShell
Tags: PowerShell, cmdlet, HostPilot, Active Directory, organizational unit
URL: https://kb.intermedia.net/article/23279

Remove-OrganizationalUnit cmdlet deletes an organizational unit.

This cmdlet supports risk-mitigation parameters.  

  • Input parameters
  • Output parameters
  • Example of using

Input parameters

#
Parameter
Type

Mandatory (R/O)

Description
1 Authentication Information (all parameters)  
2 OrgUnitID int R Organizational unit's identifier

Output parameters

No parameters

Example of using Remove-OrganizationalUnit cmdlet

Remove-OrganizationalUnit -OrgUnitID 50555018 -Confirm:$false -Force

Was this article helpful?

Sorry to hear about that.

If you need immediate technical assistance, you can:

  • Contact Intermedia support at (800) 379-7729 or
  • Open a support ticket online

Help us improve our knowledge base.

Please note: we do not monitor these comments for support requests.

Thank you for your feedback!

Related articles

  • Get-OrganizationalUnit
  • New-OrganizationalUnit
  • Set-OrganizationalUnit
  • HostPilot PowerShell: Manage Organizational Units
  • Add-OrganizationalUnitMember