PowerShell
Powershell - Find the user who invoked the script
I have a script(Let\'s call it myPSScript.ps1) which takes two parameters and performs predefined steps. Script is located in a Windows Server box which people login and execute the script. Supports t[详细]
2023-04-06 07:40 分类:问答PowerShell - Decode System.Security.SecureString to readable password
I want to decode the password from a System.Security.SecureString to a readable password. $password = convertto-securestring \"TestPassword\" -asplaintext -force[详细]
2023-04-06 07:32 分类:问答Email Subject showing Encoding
I am using send-mail message to send email to our Support System. But when it send email it shows the subject line like this screen![详细]
2023-04-06 06:28 分类:问答Can a script update the Identity tab fields of Application Pool properties in IIS 6.0+
I am a developer and I have arrived at a solution to a webservice authentication problem that involved ensuring Kerberos was maintained because of multiple network hops. In short:[详细]
2023-04-06 06:13 分类:问答So what is special about Powershell PSC1 files?
On my PowerShell shortcut I have the following: C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershe开发者_开发技巧ll.exe -psc \"C:\\Program Files (x86)\\VMware\\Infrastructure\\vSphere PowerCLI\[详细]
2023-04-06 05:55 分类:问答Can I set the PowerShell execution policy using a script?
I would not be surprised if this is not possible, but I need to set the execution policy (on the 32 bit PowerShell environment) on several build servers - it would be much quicker if I could script th[详细]
2023-04-06 05:36 分类:问答Exchange 2010 Powershell + C#: how to do WHERE query
I\'m using the exchange powershell in C# like this: public PowershellResult GetSendAsPermissions(string TargetIdentity)[详细]
2023-04-06 05:30 分类:问答is there a way I can get the IP Address when I connect to a VPN server
I am currently using Powershell to get me the list of all the IP Address of my machine. When I am not using my vpn connection ( when I am at work) I get the IP Address of my machine correct. but When[详细]
2023-04-06 03:14 分类:问答Can I use Powershell command window to interact with a Powershell hosting app?
I\'m working on an application to have Powershell embedded in it. I\'m wondering if there is a way I can launch开发者_StackOverflow a separate Powershell command window, and interact with my applicati[详细]
2023-04-06 02:43 分类:问答How to register a powershell snapin programmatically in a hosted powershell environment?
I\'ve developed some powershell cmdlets and providers, and also devel开发者_如何学JAVAoped an application to host powershell environment. I would like to run those cmdlets and providers in this hosted[详细]
2023-04-06 01:28 分类:问答