Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

PS Script to show login scripts

$
0
0

Server 2003 AD.

I need a PS script to shop what user has what login script assigned to their account.

 Get-ADUser -filter * -properties scriptpath, homedrive, homedirectory | ft Name, scriptpath, homedrive, homedirectory > C:\temp\users.txt

Tried that and PS returns that Get-ADUser is not recognized...


Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>