Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged powershell

0 votes
1.2k views
1 answer
    I want to replace all space characters into "_" in names of all subfolders and files. Unfortunately when I ... should improve this short code? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    If I have a .ps1 file with the following functions function SomeFunction {} function AnotherFunction {} How ... and AnotherFunction execute } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I have this XML-file with this structure: <?xml version="1.0" encoding="utf-8"?> <company> <category> < ... know where to start with this one. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
870 views
1 answer
    I got below error while running Enable-Migrations on my ASP.NET MVC5 project (Powershell v5 & ... Microsoft.PowerShell.Commands.JoinPathCommand See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    My powershell script: $dst = 'C:Temp' #Get all folders in $dst $folders = Get-ChildItem $dst | ?{ $_.PSIsContainer ... me why is that a problem? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm trying to convert base64 strings back to the original files. The application from where I try to export these ... ideas on how to do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I've got a powershell script that monitors a log file, filters out the interesting bits and then presents those ... . Will upload it tomorrow. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Input file is a fixed-width txt file. My client normally opens it in Excel and manually specifies the column ... efficient way to do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
916 views
1 answer
    Running Test-Connection with an IP address takes considerably longer than running the same command with the server's ... -with-ip-and-output See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
879 views
1 answer
    In a powershell window I run the following workflow: workflow foo { Suspend-Workflow; "hello world" | Out- ... as normal powershell window can? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I would like to be able to select a remote folder and scan it recursively for all file extensions. For each ... . Does anyone have any ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
908 views
1 answer
    In the time since this question was answered, AWS Tools for Powershell has been released and I basically have ... powershell, if one exists. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
884 views
1 answer
    I have been using PsExec -d to launch console applications in a remote powershell session because I want these ... remote session is killed? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
967 views
1 answer
    I have been using PsExec -d to launch console applications in a remote powershell session because I want these ... remote session is killed? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    A store number could be 1-4 digits. Store #26 would be 0026 in respect to how devices are named, but I'd like to ... .length -le 4) { $store = } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    Hope you can help me with a problem trying to execute a script block with alternate credentials on a local computer ... ? Thanks in advance... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I'm getting the following error message: The term 'appcmd' is not recognized as the name of a cmdlet, function, ... again. At line:1 char:7 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Can someone please explain the difference between -Include and -Filter options in the Get-ChildItem command . Below are ... no result ---- See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am trying to programmatically determine if a .ps1 script is running visibly or not. If it is running visibly, it ... can If -eq against ??? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
947 views
1 answer
    Hi all! I've been looking for a way to make my script more efficient and I've come to the conclusion ( ... aprox 500 servers in my full script See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Is there a way of getting the task scheduler history information into an array or variable inside a batch or ... it is even possible. thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    In my computer I am trying to get the CPU temperature. Searching on StackOverflow I found this: C: ... : Description = Not supported See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I trying to restore a database by using the Restore-SqlDatabase cmdlet. I need to relocate the ... BackupFile $backupfile -RelocateFile $myarr See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I have following Regex in Powershell : [regex]$regex = @' (?ms).*?<DIV class=row>.*? '@ What does (?ms) mean here. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    When I enter the command Start-Process powershell -WorkingDirectory "D:folder" it opens new PowerShell window ... my own location determined? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am trying to do find and replace in a file using following approach. Function Find-Replace ($FileFullpath, ... the same file without issue? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
943 views
1 answer
    I recently answered a SO-question about using -lt or -gt with strings. My answer was based on something I ... differently for chars vs. strings? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I would like to close all open windows. This will not minimize the windows but the script will close all ... a batch program or powershell? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...