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.
Filter
:
All threads
All threads
Answered
Unanswered
Proposed answers
General discussion
No replies
Helpful
Has code
All languages
-
Answered0Votes
interprete char as int
3; NOT $Nums[2] -> '3'). By casting ([int]$Nums[2] -> 51) unfortunately powershell changes the char to its ASCII value ...5 Replies | 59 Views | Created by MK-Maddin - 6 hours 18 minutes ago | Last reply by Larry Weiss - a few seconds ago -
Answered0Votes
Us Get-ADUser to list output of disabled users in an OU to a .CSV
Hi, I am trying to get a list of all users in an OU that are disabled and list the following two attributes for those users in a .CSV file. SAMAccountName and ...2 Replies | 36 Views | Created by scott_southbend45 - 1 hour 47 minutes ago | Last reply by scott_southbend45 - 7 minutes ago -
Proposed3Votes
Export-CSV avoid unnecessary quotations
Hi All, I'm exporting a table from SQL DB using Export-CSV cmdlet. There are various columns that may contain comma(,) in ...6 Replies | 133 Views | Created by Pavan Kumar 1057 - Friday, December 13, 2013 6:32 AM | Last reply by David Wyatt - 1 hour 30 minutes ago -
Discussion2Votes
Script to change local account to unique password
Is there a script that i can run on the local computer to change the password of an admin account i created to something unique. For example if i name my computer "pc2765" and i want my ...22 Replies | 145 Views | Created by pixa241 - Monday, December 09, 2013 8:31 PM | Last reply by Al Dunbar - 1 hour 33 minutes ago -
Answered2Votes
validating user entry using read-host with RegEx
I am offering a numerical menu (press 1 for this, 2 for that) to the users to make a selection. I currently validate that by checking user input against the numbers 1-6. However, now I want to accept ...3 Replies | 38 Views | Created by Robert Little - 3 hours 12 minutes ago | Last reply by Dirk_74 - 1 hour 34 minutes ago -
Unanswered1Votes
Powershell/Powershell Studio 2012 - Help with Global Variables!
Hello, I tried searching through the forums and Google, but could not find what I wanted, but if someone knows of a thread/article, please post! Problem: In ...8 Replies | 94 Views | Created by Piggy N - 18 hours 31 minutes ago | Last reply by MaxTrinidad - 1 hour 47 minutes ago -
Unanswered0Votes
Add calendar shares to all office 365 user subscriptions
I am working on setting up all our Office 365 Midsize Business subscription user calendars to be shared / viewable by everyone else. I have 61 users and everyone will be able to see the ...7 Replies | 191 Views | Created by smlunatick - Monday, November 11, 2013 1:56 PM | Last reply by Mike Laughlin - 2 hours 6 minutes ago -
Unanswered0Votes
Access denied error while trying to add a home directory to a windows local user account
I have seen the following as a suggestion to create home directory for a user - account17. So I have tried the following script to create a home directory : ...1 Replies | 42 Views | Created by cmm user - 7 hours 21 minutes ago | Last reply by Al Dunbar - 2 hours 11 minutes ago -
Unanswered0Votes
getting error about format-table then script exits
> $results } }#foreach While (Get-Job -State "Running") { cls Get-Job Start-Sleep 1 } $array += ...2 Replies | 29 Views | Created by ImMax - 3 hours 10 minutes ago | Last reply by Al Dunbar - 2 hours 20 minutes ago -
Unanswered0Votes
How to use function inside background job?
I try to call function inside job. It does not work. Is it possible to use function inside job or not. I hope you can help me. Here is my example code. Start-Job -Name ForestJob ... -
Proposed1Votes
script to query security groups for their membership
command: Get-ADPrincipalGroupMembership -identity "security group name" |select name with this command I can get the membership for the ...13 Replies | 97 Views | Created by Erdal01 - Tuesday, December 17, 2013 2:26 PM | Last reply by Mike Laughlin - 2 hours 54 minutes ago -
Answered1Votes
Powershell Excel Chart: want to plot chart by columns
I have the following Powershell code to create a chart: $range = $wb.ActiveSheet.usedRange $range.EntireColumn.AutoFit() | Out-Null ...3 Replies | 34 Views | Created by DPFY - 3 hours 38 minutes ago | Last reply by Mike Laughlin - 3 hours 7 minutes ago -
Unanswered0Votes
Trying to use powershell to download files and then only download new files
Hi, I am using the PSFT module and I am able to connect to my FTP server. Sorry I am a newbie to this but how would I download all the files and subfolders of the ftp directory? ... -
Unanswered0Votes
Bulk update of AD users properties
Hi, I have Windows Server 2008 R2 domain/forest functional level. My company is undergoing a major reorganization so every employee has changed it's title, department, . . . so I would like to modify ...2 Replies | 65 Views | Created by BoxiKG - Tuesday, December 17, 2013 4:24 PM | Last reply by BoxiKG - 4 hours 20 minutes ago -
Proposed1Votes
can't download ADWS
I'm trying to use Get-ADUser in my script and it fails. I googled around and I need to install the active directory management gateway service. I downloaded all files from ...2 Replies | 79 Views | Created by mqh7 - Thursday, December 12, 2013 6:32 PM | Last reply by AnnaWY - 4 hours 32 minutes ago -
Answered5Votes
Prompt For Choice
15" (or when the function is scheduled) My function is this: Function Get-Choice{ Param( ...6 Replies | 70 Views | Created by Albiz - 8 hours 4 minutes ago | Last reply by Dirk_74 - 4 hours 42 minutes ago -
Unanswered0Votes
Pass login credentials into a test-path cmdlet
If(Test-Path -path \\IPADDRESS\Folder\subfolder $Credentials) >> { >> >> ...5 Replies | 61 Views | Created by DBA_attack - Tuesday, December 17, 2013 3:56 PM | Last reply by AnnaWY - 4 hours 43 minutes ago -
Unanswered0Votes
how to add Sucessfull AD attribute modificatin output in power shell script
Import-Csv -Path 'C:\script\Users.csv' | ForEach-Object { $HomeDirectory = "\\server\Home$\" + $_.SamAccountName Set-ADUser -Identity $_.SamaccountName ...4 Replies | 84 Views | Created by Subramanya Raja - Monday, December 16, 2013 8:24 AM | Last reply by AnnaWY - 5 hours 14 minutes ago -
Discussion0Votes
ActiveDirectory module doesn't support Contacts in Distribution Groups
Hi, In my AD I have several groups, of the Distribution type, whose members are a combination of Contact objects and other Distribution groups. If I use the ...6 Replies | 1861 Views | Created by J Stangroome - Monday, December 05, 2011 10:27 PM | Last reply by DexterPOSH - 5 hours 34 minutes ago -
Answered1Votes
[POWERSHELL] The Pipeline Failed due to Call Depth Overflow
Hi guys! On my pc i've created a simple Powershell script, perfectly working. I put it on a file Server(2008 R2) i run it and then i've got the error in object ...2 Replies | 76 Views | Created by Albiz - Tuesday, December 17, 2013 9:09 AM | Last reply by Albiz - 5 hours 42 minutes ago - Items 1 to 20 of 13133 Next ›