Tag Archives: Invoke-Expression

PowerShell Function Run-CommandLine

So in this server build script that I’m working on there are several times when external executables are called, such as when I use the operator to call ICACLS for setting share permissions (& ICACLS.exe $folderName /GRANT $ADObject`:(OI)(CI)$ICACLSpermission). Sometimes calls … Continue reading

Posted in Programming | Tagged , , | Leave a comment