This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
  • TechNet
  • Products
  • IT Resources
  • Downloads
  • Training
  • Support
Products
  • Windows
  • Windows Server
  • System Center
  • Microsoft Edge
 
  • Office
  • Office 365
  • Exchange Server
 
  • SQL Server
  • SharePoint Products
  • Skype for Business
  • See all products »
Resources
  • Channel 9 Video
  • Evaluation Center
  • Learning Resources
  • Microsoft Tech Companion App
  • Microsoft Technical Communities
  • Microsoft Virtual Academy
  • Script Center
  • Server and Tools Blogs
  • TechNet Blogs
 
  • TechNet Flash Newsletter
  • TechNet Gallery
  • TechNet Library
  • TechNet Magazine
  • TechNet Wiki
  • Windows Sysinternals
  • Virtual Labs
Solutions
  • Networking
  • Cloud and Datacenter
  • Security
  • Virtualization
Updates
  • Service Packs
  • Security Bulletins
  • Windows Update
Trials
  • Windows Server 2016
  • System Center 2016
  • Windows 10 Enterprise
  • SQL Server 2016
  • See all trials »
Related Sites
  • Microsoft Download Center
  • Microsoft Evaluation Center
  • Drivers
  • Windows Sysinternals
  • TechNet Gallery
Training
  • Expert-led, virtual classes
  • Training Catalog
  • Class Locator
  • Microsoft Virtual Academy
  • Free Windows Server 2012 courses
  • Free Windows 8 courses
  • SQL Server training
  • Microsoft Official Courses On-Demand
Certifications
  • Certification overview
  • MCSA: Windows 10
  • Windows Server Certification (MCSE)
  • Private Cloud Certification (MCSE)
  • SQL Server Certification (MCSE)
Other resources
  • Microsoft Events
  • Second shot for certification
  • Born To Learn blog
  • Find technical communities in your area
Support options
  • For business
  • For developers
  • For IT professionals
  • For technical support
  • Support offerings
More support
  • Microsoft Premier Online
  • TechNet Forums
  • MSDN Forums
  • Security Bulletins & Advisories
Not an IT pro?
  • Microsoft Customer Support
  • Microsoft Community Forums
Resources for IT Professionals
 
Sign in
United States (English)Drop down arrow
Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Indonesia (Bahasa)Italia (Italiano)România (Română)Türkiye (Türkçe)Россия (Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)
 
 
HomeLibraryWikiLearnGalleryDownloadsSupportForumsBlogs
Ask a question
Quick access
  • Forums home
  • Browse forums users
  • FAQ
Announcement: 2

Windows PowerShell announcement

  • Link
    Local and virtual PowerShell user group listing
    Marco Shaw Friday, March 05, 2010 9:04 PM
    Find a PowerShell user group here: http://powershellgroup.org/
  • Link
    Marking questions as answered
    Marco Shaw Friday, February 26, 2010 2:22 AM
    Quite often, some users will be provided with a solution, yet won't mark the thread as answered.  The moderators of this forum will try to review almost every thread/answer, and may prematurely mark a thread as answered, when it isn't.  In cases like those, the original poster can feel free to unmark the thread as answered.

  • Remove From My Forums

Forums [ view all ]

Selected forums

Clear
Windows PowerShell
x
Filter : All threads
All threads
Answered
Unanswered
Proposed answers
General discussion

No replies
Helpful
Has code

All languages
Sort : Most recent post
  • Most recent post
  • Most recent thread
  • Total votes
  • Total replies
  • large check mark
    1 Votes

    Who will be the next PowerShell Guru? Read more about the October 2017 Wiki Guru competition

    Windows Server
     > 
    Windows PowerShell
    What is TechNet Guru Competition? Each month the TechNet Wiki council organizes a contest of the best articles posted that ...
    Sticky | 0 Replies | 59 Views | Created by Richard Mueller - Saturday, October 07, 2017 11:11 PM
  • large check mark
    0 Votes

    move from ad groups

    Scripting
     > 
    Windows PowerShell
    hello, I am trying to write a script that will get a list of users and then move those users from all AD groups them are a member of.  I'm doing something wrong here but not sure ...
    Unanswered | 2 Replies | 40 Views | Created by bellmonster - 5 hours 46 minutes ago | Last reply by jrv - 3 hours 30 minutes ago
  • large check mark
    0 Votes

    trimstart() method not modifying variable

    Scripting
     > 
    Windows PowerShell
    Hi - I'm trying to write a script that will show me the last time a 2012 computer in each of several child OUs logged in to the domain. I've got most of the ...
    Unanswered | 1 Replies | 23 Views | Created by GA123 - 7 hours 5 minutes ago | Last reply by jrv - 3 hours 38 minutes ago
  • large check mark
    0 Votes

    Get Windows Task Manager Information

    Scripting
     > 
    Windows PowerShell
    Hello Forum Is there a way to grab the following information from Task Manager on a Server, for all SQL Server Processes: ...
    Proposed | 3 Replies | 81 Views | Created by Anthony C-UK - Friday, September 22, 2017 9:19 AM | Last reply by jrv - 3 hours 50 minutes ago
  • large check mark
    0 Votes

    Automating Mailbox Requests (Exchange 2010)

    Scripting
     > 
    Windows PowerShell
    Hello, I have the below code which works fine however it errors each time all the mailbox database servers have a request running.  I am unsure as to how I ...
    Unanswered | 3 Replies | 58 Views | Created by SMBC4100 - Sunday, October 08, 2017 7:03 PM | Last reply by jrv - 3 hours 52 minutes ago
  • large check mark
    1 Votes

    Import Module Query

    Scripting
     > 
    Windows PowerShell
    Is it possible to load a module and then execute a cmdlet at the beginning of a powershell command? I want to import the following module: import-module ...
    Answered | 7 Replies | 844 Views | Created by PaddyOK - Friday, July 03, 2015 3:09 PM | Last reply by VOISIN Pierre-Emmanuel - 8 hours 49 minutes ago
  • large check mark
    0 Votes

    Checking for a string and storing it

    Scripting
     > 
    Windows PowerShell
    $tdate = Get-Date -UFormat "%d/%m/%Y" # You may need that to understand I need to use find all txt files in a folder that contain a string $tdate, that ...
    Unanswered | 3 Replies | 29 Views | Created by S H A W N - 10 hours 45 minutes ago | Last reply by BOfH_666 - 9 hours 49 minutes ago
  • large check mark
    0 Votes

    Edit Registry Key using Powershell

    Scripting
     > 
    Windows PowerShell
    I am attempting to write a PowerShell script that modify Googles ability to auto update $computers = gc 'c:\complist\complist.txt'  $Hive = ...
    Unanswered | 3 Replies | 51 Views | Created by DRHeinz - Thursday, October 05, 2017 4:11 PM | Last reply by jrv - 10 hours 15 minutes ago
  • large check mark
    0 Votes

    Scheduled Tasks - Unable to set "Do not store password"

    Scripting
     > 
    Windows PowerShell
    I hope someone can help. I am using Windows Server 2012 R2 with PowerShell 4.0. What I am trying to do is use PowerShell to create a Scheduled Task that has ...
    Unanswered | 9 Replies | 2875 Views | Created by Lee Wilmott - Friday, July 18, 2014 8:49 AM | Last reply by Tim Buntrock - 10 hours 23 minutes ago
  • large check mark
    0 Votes

    pass thru creds not working

    Scripting
     > 
    Windows PowerShell
    trying to run the following and get this:
    Unanswered | 2 Replies | 64 Views | Created by Chicojrman123 - Wednesday, October 04, 2017 4:55 PM | Last reply by Tim Buntrock - 10 hours 27 minutes ago
  • large check mark
    0 Votes

    Get Total PageFile Stats

    Scripting
     > 
    Windows PowerShell
    Hello Forum As per my earlier post, I am also trying to get PageFile Capacity and the amount of Page File used,  however it is possible to have more than one Page File on a ...
    Unanswered | 0 Replies | 20 Views | Created by Anthony C-UK - 11 hours 11 minutes ago
  • large check mark
    0 Votes

    Converting batch script to powershell

    Scripting
     > 
    Windows PowerShell
    Hello!, I wanted to convert the script below into a powershell one, the reason is so i can use secure string for the password and i can later add on the ...
    Proposed | 2 Replies | 55 Views | Created by Batch-to-PowerShell - Thursday, October 05, 2017 4:14 PM | Last reply by Tim Buntrock - 11 hours 14 minutes ago
  • large check mark
    0 Votes

    Out-gridview

    Scripting
     > 
    Windows PowerShell
    Is there a way to save Out-gridview?
    Proposed | 6 Replies | 52 Views | Created by Dele_Alli - 14 hours 53 minutes ago | Last reply by Tim Buntrock - 11 hours 39 minutes ago
  • large check mark
    4 Votes

    Send message to the users

    Scripting
     > 
    Windows PowerShell
    Hi, Everytime when we need to reboot the system we need to send an email to the users that are logged on the servers. It happened a lot that users don't read mail and because of ...
    Answered | 13 Replies | 91 Views | Created by D-TOXXX - 18 hours 48 minutes ago | Last reply by D-TOXXX - 11 hours 39 minutes ago
  • large check mark
    0 Votes

    Powershell script not getting memory values

    Scripting
     > 
    Windows PowerShell
    Hello Forum I have a PowerShell script that loops through a set of servers to get the TotalPhysicalMemory, FreePhysicalMemory and Page File stats: ...
    Answered | 2 Replies | 29 Views | Created by Anthony C-UK - 13 hours 25 minutes ago | Last reply by Anthony C-UK - 12 hours 24 minutes ago
  • large check mark
    0 Votes

    Powershell - Script to check open file by no-admin domain user

    Scripting
     > 
    Windows PowerShell
    Hello Everyone, i wrote scirpt to check open file using get-SmbOpenFile. My script is below: function abc ...
    Unanswered | 7 Replies | 88 Views | Created by AleksanderKep - Friday, October 06, 2017 9:28 AM | Last reply by jrv - 13 hours 1 minutes ago
  • large check mark
    0 Votes

    Why -ErrorAction is not respected?

    Scripting
     > 
    Windows PowerShell
    Hi, Does anybody have an idea why -errorAction SilentlyContinue does not work? Some CMDLets respects that, but e.g. "get-aduser -identity doesnotExists -errorAction ...
    Unanswered | 4 Replies | 57 Views | Created by Petri X - Thursday, October 05, 2017 4:38 PM | Last reply by jrv - 13 hours 12 minutes ago
  • large check mark
    0 Votes

    Add semicolon in powershell report

    Scripting
     > 
    Windows PowerShell
    I have created a script a which generates a report and i want to add semicolon in the script i tried but its not working. Can somebody help ...
    Answered | 5 Replies | 141 Views | Created by Kumar Lalit - 21 hours 31 minutes ago | Last reply by jrv - 13 hours 41 minutes ago
  • large check mark
    1 Votes

    Update AD Attributes based on DistinguishedName

    Scripting
     > 
    Windows PowerShell
    Hi, I am trying to update some AD attributes based upon DistinguishedName values that are in a .CSV file. For ...
    Proposed | 8 Replies | 106 Views | Created by Dan Davey - Thursday, October 05, 2017 3:48 PM | Last reply by kuingul - 13 hours 43 minutes ago
  • large check mark
    2 Votes

    System info on all domain computers for documentation

    Scripting
     > 
    Windows PowerShell
    Hello, Systeminfo is giving me a perfect overview of my system but it does not giving me on all other compters. I know that there are 3rd Party Tools or SCCM but we are not ...
    Answered | 3 Replies | 39 Views | Created by Dele_Alli - 15 hours 7 minutes ago | Last reply by jrv - 14 hours 32 minutes ago
  • large check mark
    0 Votes

    S4U Logon Type with different account : Access Denied.

    Scripting
     > 
    Windows PowerShell
    Hi, I am writing a powershell script that registers a scheduled task with a Service Account (Not with my cred). I want to run the task even when the user is not ...
    Unanswered | 6 Replies | 87 Views | Created by komal436 - Tuesday, October 03, 2017 1:33 PM | Last reply by Albert Ling - 14 hours 38 minutes ago
  • Items 1 to 20 of 26437 Next ›
Announcement: 2

Windows PowerShell announcement

  • Link
    Local and virtual PowerShell user group listing
    Marco Shaw Friday, March 05, 2010 9:04 PM
    Find a PowerShell user group here: http://powershellgroup.org/
  • Link
    Marking questions as answered
    Marco Shaw Friday, February 26, 2010 2:22 AM
    Quite often, some users will be provided with a solution, yet won't mark the thread as answered.  The moderators of this forum will try to review almost every thread/answer, and may prematurely mark a thread as answered, when it isn't.  In cases like those, the original poster can feel free to unmark the thread as answered.

Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.

Would you like to participate?

  
Privacy statement
 
© 2017 Microsoft. All rights reserved.
Newsletter|Contact Us|Privacy Statement|Terms of Use|Trademarks|Site Feedback