Forum Discussion

suren424's avatar
suren424
Copper Contributor
Sep 24, 2020
Solved

Powershell script to enable inheritance for the folders created in NTFS share

Hi,   We have a NTFS Share folder wherein we are creating all the users' homeDirectories (homefolder) within the enterprise using Oracle identity management tool. Homefolder creation is working goo...
  • farismalaeb's avatar
    farismalaeb
    Sep 30, 2020

    suren424 

    You can use this example

     

    $x=Get-ItemProperty -Path C:\MyFolder\123\456
    Write-Host "The Parent is " -ForegroundColor Green -NoNewline
    $x.Parent.Name

    if the answer fulfill your needs, please don't forget to click on Best Response and give a like 🙂

    Thanks

     

Resources