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
  • Special offers
  • MCSE Cloud Platform and Infrastructure
  • MCSE: Mobility
  • MCSE: Data Management and Analytics
  • MCSE Productivity
Other resources
  • Microsoft Events
  • Exam Replay
  • Born To Learn blog
  • Find technical communities in your area
  • Azure training
  • Official Practice Tests
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 5, 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
    2 Votes

    Who will be announced as the next Powershell Guru? Read more about April 2019 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 month. ...
    Sticky | 0 Replies | 133 Views | Created by Michaelle de las Alas - Tuesday, April 2, 2019 12:55 PM
  • large check mark
    0 Votes

    I get an error:

    Scripting
     > 
    Windows PowerShell
    I get an error: enter-pssession : Connecting to remote server Comp1 failed with the following error message : The client cannot connect to the destination specified in the ...
    Proposed | 1 Replies | 13 Views | Created by Asimov (2013) - 2 hours 32 minutes ago | Last reply by Amirhossein Karimpour - 1 hour 0 minutes ago
  • large check mark
    0 Votes

    Current script must identify the user who ran it

    Scripting
     > 
    Windows PowerShell
    I am fairly new at Powershell and want to be able to find out who ran the script this is my code so far     param(   ...
    Unanswered | 6 Replies | 36 Views | Created by Jon Gomes - 3 hours 51 minutes ago | Last reply by Jon Gomes - 1 hour 32 minutes ago
  • large check mark
    0 Votes

    What is the way of pausing DSC Consistency

    Scripting
     > 
    Windows PowerShell
    What is the way of pausing DSC Consistency check on 2016 with WMF 5.1? There is no such Shceduled task, or similar, however the Consistency check is logging such logs into ...
    Unanswered | 2 Replies | 15 Views | Created by klisurski - 6 hours 28 minutes ago | Last reply by jrv - 2 hours 42 minutes ago
  • large check mark
    0 Votes

    How to find the count or the oldest mail in the mailbox, hosted on Exchange online

    Scripting
     > 
    Windows PowerShell
    Hello Team, Can you refer me to some samples or code hints to find either the count of all mails or the oldest mail in the mailbox? The mailbox is hosted on ...
    Proposed | 3 Replies | 132 Views | Created by MSDN_Geek - Friday, April 5, 2019 11:53 AM | Last reply by MSDN_Geek - 5 hours 33 minutes ago
  • large check mark
    0 Votes

    Installing a package manually

    Scripting
     > 
    Windows PowerShell
    Hi All. I am trying to install a package onto a server that is not on the internet, and its shocking how little information there is out ...
    Proposed | 7 Replies | 123 Views | Created by MrFlinstone - Monday, April 8, 2019 8:44 AM | Last reply by LeeSeenLi - 6 hours 10 minutes ago
  • large check mark
    0 Votes

    Sort text file contents by date

    Scripting
     > 
    Windows PowerShell
    Hi  I have a text file that contains dates and data  I need to sort the contents of the text file so with the most recent date being listed 1st ...
    Proposed | 7 Replies | 155 Views | Created by confuseis - Thursday, April 4, 2019 7:49 PM | Last reply by LeeSeenLi - 6 hours 12 minutes ago
  • large check mark
    0 Votes

    Powershell to search excel returning different row values

    Scripting
     > 
    Windows PowerShell
    Hello, I am having some problems to try to implement this script. I have one big excel with several columns and I would like to search different values returning ...
    Unanswered | 4 Replies | 143 Views | Created by Ronoka - Tuesday, April 2, 2019 10:18 AM | Last reply by LeeSeenLi - 6 hours 14 minutes ago
  • large check mark
    0 Votes

    Set ACL

    Scripting
     > 
    Windows PowerShell
    Hello I have a folder on the server for end-users' archived emails.  Of course each user will only be able to access their own folder. The foldernames are ...
    Proposed | 6 Replies | 168 Views | Created by terryvanduzee - Monday, April 1, 2019 5:40 PM | Last reply by LeeSeenLi - 6 hours 17 minutes ago
  • large check mark
    0 Votes

    to modify the UPN prefix

    Scripting
     > 
    Windows PowerShell
    Is there any command / script to modify a User's UPN PREFIX..... Thanks SUBBU.T
    Unanswered | 2 Replies | 21 Views | Created by Subbut - 11 hours 24 minutes ago | Last reply by LeeSeenLi - 7 hours 43 minutes ago
  • large check mark
    0 Votes

    PowerShell to add a Certificate to "Trusted Root Certification Authorities" from https

    Scripting
     > 
    Windows PowerShell
    Hey all, I have a self signed cert on IIS and I need to deploy it to multiple workstations. I was wondering if there is a way for me to add it to my PS Script so I can get it to ...
    Unanswered | 1 Replies | 109 Views | Created by scriptingnewbie2019 - Tuesday, April 9, 2019 3:14 AM | Last reply by LeeSeenLi - 9 hours 32 minutes ago
  • large check mark
    0 Votes

    Powershell newbie Help

    Scripting
     > 
    Windows PowerShell
    Hey All, I'm very new to powershell and would like a little help on getting some information to export to a csv So i'm looking for windows update source to make ...
    Proposed | 9 Replies | 261 Views | Created by Benno89 - Tuesday, April 9, 2019 3:07 AM | Last reply by jrv - 13 hours 11 minutes ago
  • large check mark
    1 Votes

    output verbose contents of invoke-sqlcmd to a file

    Scripting
     > 
    Windows PowerShell
    invoke-sqlcmd -verbose -server localhost -inputfile H:\logsomething.sql -OutputSQLErrors $true | Out-File -filePath filesystem::H:\src\log.txt This command creates the file log.txt ...
    Answered | 3 Replies | 9085 Views | Created by kewalaka - Tuesday, January 26, 2010 10:31 PM | Last reply by jrv - 13 hours 40 minutes ago
  • large check mark
    0 Votes

    ConvertTo-Json gives unexpected characters in JSON payload.

    Scripting
     > 
    Windows PowerShell
    I have been submitting JSON payloads to our certificate store for sometime now. If there was an error then it could be attributed to incorrect data. Recently we have been submitting a JSON payload to ...
    Unanswered | 2 Replies | 33 Views | Created by John Strode - 16 hours 3 minutes ago | Last reply by jrv - 13 hours 41 minutes ago
  • large check mark
    1 Votes

    Updating Users Attributes with a csv file

    Scripting
     > 
    Windows PowerShell
    I put the extension number of users in Telephone number field in Active Directory. Our extension was changed from 3 numbers to 4 numbers. How can I update the telephone number field for all users with ...
    Answered | 4 Replies | 150 Views | Created by Gordon Ma - Friday, April 5, 2019 11:46 PM | Last reply by Gordon Ma - 17 hours 3 minutes ago
  • large check mark
    0 Votes

    Timestamping an out-file

    Scripting
     > 
    Windows PowerShell
    I know if got this answered before but I had to change the last line of code because the files needed to go to a different location but now when I run the script i get an ...
    Proposed | 8 Replies | 180 Views | Created by eorosz - Thursday, March 28, 2019 6:02 PM | Last reply by JS2010 - 17 hours 29 minutes ago
  • large check mark
    0 Votes

    Using AD module without loading RSAT

    Scripting
     > 
    Windows PowerShell
    Hi, Is it possible to load the AD module and running it from script without installing RSAT ...
    Answered | 17 Replies | 9809 Views | Created by FRacine - Friday, December 2, 2016 1:27 PM | Last reply by DanRobertson - 18 hours 0 minutes ago
  • large check mark
    0 Votes

    powershell conecting to a microsoft Windows Internal Database

    Scripting
     > 
    Windows PowerShell
    how do i connect to a WID using powershell this is what i tried [string] $Server= "\\.\pipe\MICROSOFT##WID\tsql\query" [string] ...
    Answered | 5 Replies | 823 Views | Created by robMerritt - Saturday, July 21, 2018 6:17 AM | Last reply by JS2010 - 19 hours 28 minutes ago
  • large check mark
    0 Votes

    Powershell Export to csv or text file

    Scripting
     > 
    Windows PowerShell
    Hi All, I am querying AD to get the group details and I want to output to be in the below format. Is it possible via ...
    Unanswered | 3 Replies | 69 Views | Created by Rajesh.NSR - 22 hours 52 minutes ago | Last reply by Ramabadran Vasudevan - 22 hours 26 minutes ago
  • large check mark
    0 Votes

    How do i combine multiple columns to array result?

    Scripting
     > 
    Windows PowerShell
    Suppose I have a table I have the following script Function Query($Query) { $SqlConnection = New-Object ...
    Answered | 11 Replies | 293 Views | Created by cataster - Thursday, March 14, 2019 5:53 PM | Last reply by cataster - 23 hours 54 minutes ago
  • large check mark
    0 Votes

    need help to text a script for Remove-ADGroupMember

    Scripting
     > 
    Windows PowerShell
    hi all, i need to write a script that when executed remove the user that execute it from all the ad group it is member, or from a specified group please can u ...
    Unanswered | 10 Replies | 263 Views | Created by ask2019__ - Thursday, March 28, 2019 4:08 PM | Last reply by LeeSeenLi - Tuesday, April 9, 2019 2:41 PM
  • Items 1 to 20 of 30060 Next ›
Announcement: 2

Windows PowerShell announcement

  • Link
    Local and virtual PowerShell user group listing
    Marco Shaw Friday, March 5, 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.
 
© 2019 Microsoft. All rights reserved.
Newsletter|Contact Us|Privacy Statement|Terms of Use|Trademarks|Site Feedback