I want to find out if an organisational unit exists or not so I wrote this following code but it shows up an error : Impossible to find object with the identity OU\_Bloquage.Despite it does really exist(I've created it)
Below is the code I've wrote

```
Import-Module ActiveDirectory
Import-Module 'Microsoft-PowerShell.Security'
$OUName = 'OU_Bloquage'
if([bool] (Get-ADOrganizationalUnit $OUName))
{ Write-Host 'true' }
else { Write-Host 'false' }

```