PowerShell
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 分类:问答PowerShell Remoting to many servers across domains
I am DBA. I am trying to write bunch of scripts that I could execute from one central server. Ideal would be to send all the scripts from central server to say 50+ servers across multiple win domains[详细]
2023-04-06 01:07 分类:问答Automatic JavaScript Compression with PowerShell
I\'m looking to write a script that will take a bunch of .js files, compress them, and then replace the old ones with the new ones in that same folder. I\'ve tried a few things but I find myself conti[详细]
2023-04-05 23:52 分类:问答Powershell add user to group
I am trying to read an XML file with user information and based on that information I want to add users to Active Directory gr开发者_StackOverflowoups. I have been looking up the error messages with n[详细]
2023-04-05 22:01 分类:问答How to find new cmdlets in Powershell v3.0
I wanted to find the new cmdlets / functions in Powershell. I used the following approach, but not sure if it is comprehensive / correct. Any ideas to find this in a better / different way?[详细]
2023-04-05 19:31 分类:问答Powershell problem using .NET Replication Management Objects RMO
I am trying to automate the reinitialization of several replication subscriptions that pull anonymously from the distribution server. I am[详细]
2023-04-05 16:13 分类:问答Replace the first occurence of a string in a file
In a PowerShell script, to replace the first occurrence of a string in a file I came with the code below, which keeps track in a variable whether the replacement was made.[详细]
2023-04-05 16:01 分类:问答Powershell: replacing in strings using a hashtable
Okay, so I\'ve set up a hash table with names being what to replace and keys being what to replace with, like this:[详细]
2023-04-05 11:46 分类:问答