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
-
Unanswered0VotesHow to add Distribution Group email alias from CSV in office 365
Hello Forum! Hope someone can help me troubleshoot this or even let me know if its not possible. But, I used powershell to import distribution groups and ... -
Unanswered0VotesQuery account privilegesprivileges for context running script
I am trying to enumerate the privileges for the account running a script to make sure it has Logon as Batch rights. Anyone know how to do ... -
Proposed0Votesget the SQL database users Powershell
Hi! I'm trying to figure out how to get the users of a SQL database using powershell. I have allready figured out how to ... -
Unanswered0VotesPowershell and Zip Files
I want to be able to use Powershell to list the contents of a zip file as well as extract the files. Using Powershell v 3.0 I've been looking, but havn't found what I'm looking for ... -
Unanswered0Votescreate 2 dynamic file names based on file name read from folder
$($LogText) "@ $LogEntry $LogEntry | Add-Content 'c:\test\email.txt' # I want this to be ... -
Answered4VotesHow can I recode a regular expression used to parse a string?
I want to code some parsing using regular expressions where I can later go in and change the suite of characters that I want to associate (or not associate) with a word-like entity. In other ... -
Unanswered0VotesPowerShell - Setting targetAddress Active Directory attribute for all computers listed in CSV file
Hi, I would like to add all the individual MAC addresses for each corresponding computer account in Active Directory through PowerShell. The list has already been created ... -
Proposed1VotesSet-ExecutionPolicy Unrestricted - Can I add this to my custom scripts?
As I learn an test PowerShell, I always run the command below so I can excute the ps1 script. Set-ExecutionPolicy Unrestricted I don't want to ... -
Unanswered0VotesInbox mail count
I need to identify the number of mails in each inbox folder of every mailbox on exchange 2007. This command outputs the number of items. However, this is different to the ... -
Unanswered0VotesHow to Loop Through Central Management Server in SQL Server 2012 Using PowerShell
I am trying to learn PowerShell. I want to use it to gather information from a Central Management Server and input the information into a table in a ... -
Unanswered1VotesCannot index into a null array.
Hi I am new to powershell, and as part of my code I have this; New-SPProjectDatabase -Name $PWADB -ServiceApplication $projectserviceapp -Tag ... -
Unanswered0VotesProblem using CSharpCodeProvider to add types at runtime
I am having an intermittent problem adding C# types from Powershell. (If this isn't the right forum, please advise me on where to post my question). I originally encountered ... -
Answered0VotesUnderstanding [ValidateNotNullOrEmpty()]
test Name: The [ValidateNotNullOrEmpty()] doesn't seem to do anything. What am I missing? Thanks GregM -
Unanswered0VotesAzure Powershell module not connecting to any service
Get-AzurePublishSettingsFile PS> Import-Azure -PublishSettingsFile <my file's absolute path> But then when I try to ... -
Answered0VotesHow can I create a share with New-SmbShare and specify a Local Group
Using the New-SmbShare cmdlet in Powershell 3.0, I would like to create a share and specify a Local Group as the ReadAccess group. Code looks basically like: $serverName = ... -
Answered1VotesRun PowerShell script from C# writing to input pipe
Hello, I am trying to run a PowerShell script from C# (I have no control over what's in the script). The script may have a prompt like "Press enter to continue". So ... -
Discussion7VotesCheck Whether drive exists
function get-checkdrive($server) { write-verbose "check drive -started" $check= 'D:\' # no escape $testobj=get-wmiobject ... -
Unanswered1VotesQuerying WMI-object for Services - How to port check for WMI and handle exceptions?
Hi I've enabled Active Directory Gateway Management Services on our 2003 domain I can now Powershell AD objects :-) First task of the day. ... -
Proposed0VotesPowershell find string in the output of command
Get-VMSwitch Name ... -
Discussion1VotesPowershell on scheduled task fails with "The last run of the task was terminated by the user 0x41306"
Hi, i have created a script that i schedule to run a few times a day copying files around servers. Sometime the same script might be running 2-3 times at the same ... - Items 1 to 20 of 11186 Next ›


