我想获得一个经理下的每个人的名单(如果你愿意的话)。我有与Active Directory模块一起工作的代码,但我无法弄清楚如何使用ADSI来完成此任务。 我已经使用这个代码开始尝试: Function GetManager($Manager, $Report)
{
# Output this manager and direct report.
"""$Manager"",
的我有一个运行在ISE罚款PowerShell脚本,但是当我直接从名为.ps1文件运行它,它在这一点上停止: Write-Host "Attempting to start FFMPEG Process with arguments:$ArgumentList::::" -ForegroundColor Green
Start-Process $SCRIPT:FFMPEGLocation $Ar