About 13,500 results
Open links in new tab
  1. Export Logon hours for each user in OU - social.technet.microsoft.com

    Needing an easy way to export logon hours for each user in an OU. Has anyone had this request before or have a script they may have used for this purpose? There are many pre-written scripts here:

  2. Invoke-Command fails to run command when used with Start-Process

    Each line in test-suite file indicates the script to be executed: Script1.ps1 Script2.ps1 ... ScriptN.ps1 3. I use a script which reads the suite file and uses Start-Process to call the scripts mentioned in the …

  3. Getting list of Primary users based on CSV

    The above script imports the CSV you have. The | symbol pushes each row of the CSV to the next cmdlet. get-cmuserdeviceaffinity is the next cmdlet. $_ is the current piped object, the object of $_ …

  4. Locking out users on Active Directory based on Out-of-Office in …

    I am looking for solutions to lock user accounts in Active Directory automatically when user are out on vacations as per their Out-of-office assistant setup in Outlook. Is there some tools out there doing …

  5. SharePoint Online: Power Shell to get All lists in Sub sites in Site ...

    I have powershell that is fetching all lists and its details in one site collection but my requirement to fetch all lists details in all sub sites in given one site collection. But i am not getting how to achieve. I also …

  6. Add iSCSI LUN to Multiple Hyper-V Cluster Hosts?

    Jul 27, 2008 · Is there a way to connect multiple Hyper-V hosts to a CSV LUN without manually logging into each and opening the iSCSI Initiator GUI?

  7. Run multiple commands using CMD with PowerShell.exe -command

    As an alternative, if you have a working script file, you can use the -File parameter instead of -Command. Don't retire TechNet! - (Maybe there's still a chance for hope, over 12,420+ strong and …

  8. import-csv, sort and then export-csv

    Nov 11, 2010 · Which is roughly what I need but I'm not sure how to make it add the bytes and page count together for each user or how to then output that to another .csv (simply adding | export-csv …

  9. Run multiple Powershell commands after each other

    for ( [int]$i = 1; $i -le 80; $i++) { Get-Mailbox -Identity "User$i" [missing part of your command here] -PathToPST "C:\User$i.pst" } Marked as answer byAlan ...

  10. Exporting and Appending custom data into CSV

    I can do this via string manipulation but I know powershell can do this much more elegantly / simply.. but I'm struggling with this today, I know it's because I'm thinking of each line as a string rather than as …