powershell-2.0
powershell hashtable problem
I am trying to read a config file which has some key value pairs as shown below: age = 7 server = \\\\server\\[详细]
2023-02-19 13:51 分类:问答PowerShell command to replace a chunk of text in a file
I am trying to replace a chunk of text in a file using PowerShell. For instance, I have a .sql file and I know the exact chunk of an SQL script that needs to be replaced in that particular fil开发者_如[详细]
2023-02-19 07:12 分类:问答Why is Powershell 2.0 installed in the same location as Powershell 1.0?
Does anyone know why Powershell 2.0 is installed in C:\\Windows\\System32\\WindowsPowerShell\\v1.0 on a Windows 7 box?开发者_如何学PythonIt\'s actually an interesting story in side-effects.[详细]
2023-02-19 04:25 分类:问答PowerShell script to display Notification balloon and take action only works in ISE gui, not from commandline
I\'ve seen a bunch of closely related posts so I know i\'m not alone, but none have given me the answer I\'m looking for. Apologies if this has been asked and answered and I couldn\'t find it.[详细]
2023-02-18 16:39 分类:问答Get status of a process started by Invoke-WmiMethod
New to PowerShell, but loving the fact that I can do so much so quickly so far :) Anyways, I am starting a remote process in a PowerShell script thusly:[详细]
2023-02-18 15:47 分类:问答SharePoint 2010 - Change SiteCollection URL
Is there a easy way (like a PowerShell Command) to change the URL 开发者_开发知识库from a SiteCollection?[详细]
2023-02-18 06:39 分类:问答PowerShell - Exception handling
I´m searching for the best way to handling except开发者_如何学Pythonions in PowerShell. In the following example I want to create a new SharePoint web and remove a old SharePoint web. When the New-SP[详细]
2023-02-17 23:07 分类:问答How to dynamically define a class in C# PowerShell Cmdlet
I have some data I\'m getting from a datasource which is a bunch of name/value pairs that I store in a Dictionary<string, object>.[详细]
2023-02-17 13:31 分类:问答Powershell verb for destroying a resource
I\'ve been trying to stick with the approved list of Powershell verbs when naming my cmdlets. I have a function which creates a resource, so it\'s called New-ClearCaseVi开发者_如何学Goew. I\'d also li[详细]
2023-02-16 22:12 分类:问答powershell exchange question
First of all, I am pretty new to powershell, so my questions might not be framed correctly but what I need to do is this.[详细]
2023-02-16 18:48 分类:问答