PowerShell
Powershell regex for connectionStrings?
For some reason I\'m having a brutal time parsing the conn开发者_如何转开发ection string in the web.config file.[详细]
2023-04-09 23:45 分类:问答GetType used in PowerShell, difference between variables
What is the difference between variables $a and $b? $a = (Get-Date).DayOfWeek $b = Get-Date | Select-Object DayOfWeek[详细]
2023-04-09 23:18 分类:问答Custom PowerShell Cmdlet does not accept Variables
I have a custom PowerShell cmdlet that has the following attributes on one of the input properties.The property is a get/set of type float . I want to be able to supply this property with either a flo[详细]
2023-04-09 18:51 分类:问答Wonky Start-Process errors after the script has been running a while
I have a PowerShell 2.0 script that works on large file shares from the top down, correcting permissions and such by launching another executable via Start-Process and waiting for the results and exit[详细]
2023-04-09 16:18 分类:问答How to create wsp package from powershell
Please help, how to create wsp package from powershell? I know how to build solution, but I don\'t know how to emulate command Packag开发者_JAVA百科e, which exists for WebPart projects in project item[详细]
2023-04-09 14:15 分类:问答How do i FTP upload directory in Powershell
I came across this post: Upload files with FTP using PowerShell But I\'m lookinghow i can upload a directory with fil开发者_运维技巧es in it to a FTP server.[详细]
2023-04-09 13:22 分类:问答Cancel multiple SharePoint Workflows using PowerShell
How is it possible to cancel all running workflows in a SharePoint (2010) List? I found this script via technet.[详细]
2023-04-09 11:42 分类:问答How to use the "-Property" parameter for PowerShell's "Measure-Object" cmdlet?
Why does $a = GPS AcroRd32 | Measure $a.Count work, when GPS AcroRd32 | Measure -Property Count doesn\'t? The first example returns a value of 2, which is what I want, an integer.[详细]
2023-04-09 10:16 分类:问答How to get a string instead of an array in PowerShell?
I\'m trying to do the f开发者_开发技巧ollowing: $files = Get-ChildItem c:\\temp | Select-Object Name[详细]
2023-04-09 07:47 分类:问答How to automate firefox with powershell?
I am currently doing the automation with power shell and I am stuck in the following problem , I have automated internet explorer with scripting in power shell,[详细]
2023-04-09 07:44 分类:问答