No announcements
Found 1951010 threads
-
2 Votes
Number Codes for Parameters When Setting up CallAnsweringRules with Powershell
Hi Harison, Let me give you a explanation about the value of TimeOfDay For example: ...Answered | 3 Replies | 728 Views | Created by HBanks-Aus - Thursday, October 4, 2018 10:31 PM | Last reply by HBanks-Aus - Sunday, October 7, 2018 10:42 PM -
0 Votes
PowerShell - Parameter Dependencies within Parameter Sets
Hi Garret, you can do this with the least hassle by simply validating the input after the parameter binding as first part of the function/script, using if/else and throwing ...Answered | 2 Replies | 3037 Views | Created by GarrettMattingly - Tuesday, June 7, 2016 8:00 PM | Last reply by FWN - Tuesday, June 7, 2016 8:11 PM -
0 Votes
PowerShell to set SQL Server Parameters
Hello, Sure you can use PowerShell for this; open a connection to SQL Server and execute the system Stored Procedure sp_configure (Transact-SQL) to change e.g. ...Answered | 1 Replies | 583 Views | Created by Fasttrack2 - Monday, September 12, 2016 4:22 PM | Last reply by Olaf Helper - Monday, September 12, 2016 5:10 PM -
7 Votes
O365 | Set-UnifiedGroup -HiddenFromExchangeClientsEnabled parameter not showing up
To make a long story short, the tech ended up having to do a back end update on our tenant in order for the parameter to show up.Answered | 20 Replies | 22216 Views | Created by Chris.Greeson - Wednesday, May 9, 2018 8:42 PM | Last reply by Danny Kuzmicki - Tuesday, February 12, 2019 10:38 PM -
6 Votes
Problem specifying a default value when using parameter sets in powershell
zx38, Prior to creating this post and to allow me to progress the code I had done something similar your suggestion by creating a set of additional switches that apply the the ...Answered | 25 Replies | 34053 Views | Created by towst - Thursday, July 26, 2012 4:46 AM | Last reply by towst - Monday, July 30, 2012 6:25 AM -
1 Votes
Incrementing Version Numbers in PowerShell
I did a fair bit of searching before writing that (I try not to re-invent the wheel if I don't have to) but didn't see anything like that come up.Answered | 4 Replies | 4931 Views | Created by cammmy - Friday, September 27, 2019 1:50 PM | Last reply by cammmy - Tuesday, March 24, 2020 3:53 PM -
0 Votes
Powershell 3.0 pops up Credential Window asking for Username and password with parameter type set as PSCredential for Credential paramater
; [Parameter()]$Password ) } Get-Cmdletname -Computer 1.2.3.4 -Username admin -Password ...Answered | 4 Replies | 3624 Views | Created by seshadri75 - Monday, August 8, 2016 9:27 AM | Last reply by jrv - Tuesday, August 9, 2016 11:03 AM -
3 Votes
powershell get the number of emailaddresses set by Exchange policy
Getting EnabledEmailAddressTemplates parameter of Get-EmailAddressPolicy AND comparing all email addresses seem to be interesting, but this will be too heavy for me ...Answered | 7 Replies | 1743 Views | Created by Mustafa EMEK - Tuesday, November 13, 2012 9:29 AM | Last reply by mjolinor - Wednesday, November 14, 2012 1:49 PM -
0 Votes
Setting up Exchange 2007 for Powershell
As Ed said, we should open Exchange Management Shell instead of Windows PowerShell.Answered | 2 Replies | 829 Views | Created by Jason Michael - Thursday, June 23, 2016 9:24 PM | Last reply by jim-xu - Friday, June 24, 2016 6:37 AM -
3 Votes
Set up Application to Run Powershell Script
This might be why my script isn't installing because the settings powershell app is dependent on the chrome install.Answered | 9 Replies | 8827 Views | Created by mcmaron - Tuesday, May 13, 2014 4:02 PM | Last reply by Cristopher_WPU - Thursday, September 18, 2014 7:01 PM -
1 Votes
Powershell Exit Codes
Much easier: Param( [Parameter(Mandatory=$true)]$myarg ) The Param statement will do all of that ...Answered | 3 Replies | 3468 Views | Created by Jebakumar, Alan - Tuesday, October 13, 2015 1:06 PM | Last reply by jrv - Tuesday, October 13, 2015 4:44 PM -
0 Votes
Running PowerShell Code in VBS
Hi JAllgood, If you want to pass the variable in vb script to powershell script, you can use "& variable".Answered | 1 Replies | 852 Views | Created by JAllgood - Wednesday, May 6, 2015 11:24 AM | Last reply by AnnaWY - Thursday, May 7, 2015 11:10 AM -
0 Votes
Powershell script set up as a SCCM Application not running
" Correct, but I honestly wouldn't use PowerShell for this.Answered | 6 Replies | 3159 Views | Created by Will May Be Wise - Tuesday, September 18, 2018 2:53 PM | Last reply by Jason Sandys [MSFT] - Thursday, September 20, 2018 8:35 PM -
3 Votes
Powershell - setting a directory permission to propagate, but permissions not picked up by children
There are a number of edge cases involving Set-ACL that produce unexpected results.Answered | 8 Replies | 23368 Views | Created by skapinos - Sunday, June 10, 2012 5:59 PM | Last reply by Raimund Andrée - Wednesday, November 20, 2013 5:11 PM -
1 Votes
How to pass in cmd parameter and store in PowerShell session
Reading in the parameter value was going to be my back-up plan.Answered | 5 Replies | 4200 Views | Created by R Keith - Monday, August 15, 2011 8:46 PM | Last reply by R Keith - Monday, August 15, 2011 9:40 PM -
1 Votes
Trying to get an Automated response when prompted for parameters in powershell
Learning basic PowerShell makes coding very easy.Answered | 3 Replies | 550 Views | Created by DamDamv - Tuesday, July 2, 2019 12:00 PM | Last reply by jrv - Wednesday, July 3, 2019 12:29 AM -
1 Votes
Parameter throwing up parameter dialog when changing query.
Duane, Here are a few things to check: When a report parameter is created by default the data type will be a string.Answered | 4 Replies | 3269 Views | Created by duanecwilson - Thursday, August 27, 2009 7:44 PM | Last reply by duanecwilson - Wednesday, September 2, 2009 5:20 PM -
0 Votes
Help returning custom exit codes when running a powershell script
The question here was "exit 123" not setting a return code which it does.Answered | 8 Replies | 6935 Views | Created by Zach Shupp - Thursday, July 31, 2014 9:41 PM | Last reply by Bill_Stewart - Friday, August 1, 2014 2:43 AM -
0 Votes
optional parameters are not showing up in the prompt
https://stackoverflow.com/questions/11367685/powershell-how-do-i-pass-variables-to-switch-parameters-when-invoking-powershel ...Answered | 3 Replies | 566 Views | Created by Tiri2014 - Thursday, May 3, 2018 3:15 PM | Last reply by JS2010 - Friday, May 4, 2018 3:39 PM -
1 Votes
Query regarding limit on maxmimum number of ParameterSets for powershell cmdlet?
I have checked multiple times in my c# code.Answered | 10 Replies | 633 Views | Created by vinay_ravish - Wednesday, September 26, 2018 6:26 AM | Last reply by jrv - Wednesday, September 26, 2018 9:30 AM - Items 1 to 20 of 1951010 Next ›
No announcements