Windows PowerShell announcement
-
Link
Find a PowerShell user group here: http://powershellgroup.org/
-
Link
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.
-
0 Votes
Sort a table with two columns based on the first
I have a powershell table with the columns 'Used Perc' and 'ID'. This was formed from the following $a = ...Answered | 6 Replies | 95 Views | Created by matt99199 - Wednesday, December 03, 2014 5:15 PM | Last reply by AnnaWY - 11 minutes ago -
10 Votes
Please help me with this "2012 R2" PS Script
Please be kind to help me with this Script. Thank you..... Import-Csv C:\Scripts\NewADUsers.csv | foreach-object { $userprinicpalname = $_.SamAccountName + ...Proposed | 19 Replies | 150 Views | Created by ArunaJaya - Thursday, December 04, 2014 11:19 AM | Last reply by AnnaWY - 37 minutes ago -
0 Votes
ActiveSync PowerShell Script
I tried asking this question in another technet forum but go no answer .. so here it goes again I am trying to put a script together that will allow for me to ... -
0 Votes
Teaming NIC
I am trying to script TeamingNic started with a $arrNic = Get-NetAdapter -Physical | where status -EQ 'up' | select-object name the idea ...Unanswered | 2 Replies | 56 Views | Created by Ogeccut - 3 hours 41 minutes ago | Last reply by Brian Nadjiwon - 2 hours 41 minutes ago -
0 Votes
Can't pass a argument to Powershell ISE
Hello, in my powershell ISE shell window, I type : .\myscript.ps1 "my value" The first line has a break point : ...Unanswered | 4 Replies | 51 Views | Created by peter clift - 3 hours 54 minutes ago | Last reply by Brian Nadjiwon - 2 hours 59 minutes ago -
0 Votes
PS Script To Rename File Using CSV - Filename Is Containing IP Address And Needs To Be Host Name
Hello All, I am currently working with PDF reports which are named "TEMXX.XX.XXX.XX_141215.pdf", XX.XX.XXX.XX is an IP address. I have created a CSV which contains two ... -
15 Votes
Executing powershell scripts via Task Scheduler
Hi, I have a powershell script that I wrote that when executed from the shell works fine but when executed from task scheduler does not work. In my script, an ...Answered | 14 Replies | 60928 Views | Created by GregLyncs - Tuesday, April 10, 2012 7:17 PM | Last reply by Johnny4vt - 4 hours 47 minutes ago -
1 Votes
Help needed with a PS script for network share documentation
I found a nice PS script that will do what I want, however the output portion seems to be broken. It will output the permissions and details, but not list what share it is referring to... Can anyone ...Proposed | 8 Replies | 95 Views | Created by Joshua N - 10 hours 26 minutes ago | Last reply by jrv - 5 hours 48 minutes ago -
0 Votes
on powershell and gpo
I was given a huge tasking and I'm reeling on how to accomplish it. My issue is this. I have been tasked on going through and gathering all information on all the gpos on all of our ...Unanswered | 2 Replies | 75 Views | Created by planteyes - 6 hours 8 minutes ago | Last reply by jrv - 5 hours 49 minutes ago -
7 Votes
Truncate each line in a file to a specific number of characters
I've been tasked with writing a script that will massage data in a file that goes to a mainframe. The mainframe job is static and can't be modified. The file needs to be capped at 80 characters per ...Answered | 13 Replies | 157 Views | Created by zarberg - Monday, December 08, 2014 7:24 PM | Last reply by zarberg - 5 hours 51 minutes ago -
2 Votes
Import-CSV to bulk Update AD Attributes
Hello, I am trying to import a csv to do some clean up on some AD account’s. My question is similar to this ...Unanswered | 7 Replies | 112 Views | Created by Rthornburg - 8 hours 50 minutes ago | Last reply by clayman2 - 6 hours 42 minutes ago -
0 Votes
Moving AD groups to new OU
I am trying to move about 200 AD groups to a new OU. Is there anyway someone can help me with a script to use in powershell to get this done.Unanswered | 3 Replies | 170 Views | Created by Rosheik - 10 hours 9 minutes ago | Last reply by Mike Laughlin - 6 hours 59 minutes ago -
0 Votes
are jobs faster than foreach?
Hi, I have a search script that goes on multiple servers and enumerates files, then looks through each file and looks if the prt name matches. Now i am trying to make it faster, and the first attempt ...Unanswered | 5 Replies | 91 Views | Created by ImMax - 10 hours 21 minutes ago | Last reply by Stephen Owen - 8 hours 16 minutes ago -
1 Votes
Powershell script or command to Import AD USers with GUID
I need to import few users with their GUID's from our Training domain to Production domain. Our requirement is Users need to login their existing pc's local profile, once they move ...Unanswered | 5 Replies | 114 Views | Created by Don Sujith - Thursday, December 11, 2014 4:18 AM | Last reply by Jordan Mills - 9 hours 28 minutes ago -
0 Votes
Query not returing Exchange server name
I am running the following command to retrieve the status of a process. I am using get-exchangeserver to list all the Exchange servers to run get-process. In addition to returning the services which ...Unanswered | 1 Replies | 52 Views | Created by CMR NYC - 12 hours 49 minutes ago | Last reply by jrv - 9 hours 30 minutes ago -
1 Votes
help needed with logical Expression
Hi Everyone, I have a CSV file with few columns SamAccountName,office,Company,Department I want the logic to update user details with above information ...Unanswered | 7 Replies | 86 Views | Created by STscripter - 14 hours 39 minutes ago | Last reply by jrv - 9 hours 41 minutes ago -
0 Votes
using dfsr commands remotely
I have a need to execute dfsr commands like 'Get-DfsrConnection' against a computer remotely. Running locally on a Windows 2012 R2 server works fine, but issuing the command via 'invoke-command ...Unanswered | 6 Replies | 155 Views | Created by xjdan89 - Wednesday, December 10, 2014 8:18 PM | Last reply by xjdan89 - 9 hours 44 minutes ago -
0 Votes
Query SQL and output to text file then loop through list to execute
It seems there's no obvious way to do what I want to below as everyone has their own take on querying SQL server with Powershell! I need to use PowerShell to connect to ServerA and ...Unanswered | 5 Replies | 67 Views | Created by MJ2012 - 14 hours 57 minutes ago | Last reply by jrv - 9 hours 50 minutes ago -
0 Votes
Distribution Group Membership - Find and Replace.
Hello, I am looking for a way in Powershell to return the distribution groups that a user is a member of. Using that information I'd ideally like to replace that user with another, ...Unanswered | 8 Replies | 80 Views | Created by Niall Ald - 10 hours 53 minutes ago | Last reply by Mike Laughlin - 10 hours 5 minutes ago -
0 Votes
Archive previous Windows System logs (event viewer)
ex Dec14 2. copy all the previous day system events and export to UNC path--> ex: \\NASstorage$\SYS Logs\Server1-14-12-14 PS: once copy ...Unanswered | 1 Replies | 51 Views | Created by Billvel - 10 hours 57 minutes ago | Last reply by jrv - 10 hours 25 minutes ago - Items 1 to 20 of 16790 Next ›
Windows PowerShell announcement
-
Link
Find a PowerShell user group here: http://powershellgroup.org/
-
Link
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.