Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [powershell]

Windows PowerShell is a command line shell and scripting language for Windows that supersedes the CMD.exe shell and batch language. PowerShell is also an automation engine for Windows that provides functionality similar to Windows Script Host and VBScript.

0
votes
0answers
5 views

Powershell Excel Refresh via Sharepoint

Error Image when i execute the below powershell script it keep asking for the password , how to overcome please help. $libraryPath = "M:\test-3 \ORI List.xlsx" To view Excel file open need to set ...
0
votes
0answers
5 views

How to get azure webchat channel information (secret keys, embed code…) of Bot Service with powershell command

I would like to get all the information (secret keys, embed code, etc...) related to a channel (in my case, a webchat) within an azure bot service with powershell script. Is there an azure rm ...
1
vote
0answers
7 views

Mount-DiskImage not recognized cmdlet

Here on Win 7 64x I'm trying to mount an ISO using PowerShell. I have tried several versions of syntax, but they all failed. PowerShell Mount-DiskImage -ImagePath "C:\Users\win7\Desktop\IsoFiles\...
0
votes
0answers
9 views

Start-BitsTransfer - “Cannot find path … because it does not exist” with different credentials to local host

I am typing the following command in a PowerShell prompt: Start-BitsTransfer -Source "\\serverA\c$\test.txt" -Destination . -TransferType Download -cred (get-credential) After typing the credentials ...
0
votes
1answer
18 views

How do I set Windows PowerShell ISE default theme?

Whenever I change the theme in the PowerShell ISE options on Windows 10 to Light on Light it doesn't keep it when I restart, it goes back to the default Dark on Light. How can I set/force Light on ...
0
votes
0answers
28 views

Turn off Win10 display(s) via OpenSSH

There are a lot of solutions to turn off display locally on a Windows10 machine. They all are some form of the following SendMessage line. There's also little executables like nircmd that do this. ...
-1
votes
2answers
44 views

Can't delete file named '…' [duplicate]

For some background, I'm on Windows 10 however with the files I'm going to talk about I've used them in shared folders with Ubuntu VMs before. In a folder on my machine, there is a file named '...' I ...
0
votes
1answer
15 views

How to get the Handle of a specific explorer window in powershell

I'm following this tutorial here: https://blogs.technet.microsoft.com/heyscriptingguy/2015/12/26/weekend-scripter-manage-window-placement-by-using-pinvoke/ They use the code (Get-Process -Name ...
0
votes
2answers
29 views

Setting explorer size in windows using the Custom Set-Window Script in Powershell

I'm trying to use the script given in this answer Setting window size and position in PowerShell 5 and 6 to set the height and size of multiple windows explorer windows. Not the internet explroer.. ...
0
votes
0answers
32 views

Supplementary Multilingual Plane and Windows console

Given this file: U+10480 OSMANYA LETTER ALEF 𐒀 Does any version of Windows have a way to output this correctly via the console (command line)? I have tried with: Windows 10 Windows 8.1 ...
-6
votes
0answers
30 views

Need a powershell script to run [on hold]

I have a .csv file(excel format) which has a column of different applications and each application is assigned with date and their respective cycle number.Usually,eenter image description hereach ...
1
vote
3answers
79 views

Delete content of folders with same name in different subdirectories

I am using Windows 10. I have many same named folders (suppose the name "data") in different subdirectories of a base directory (here "d:\dir"). How can I delete the content (containing only files) ...
1
vote
0answers
41 views

Switching Between Cellular & WiFi [on hold]

I have a device with Cellular & WiFi, but I prefer the Cellular to be my first prior connection and WiFi as secondary. So I need a script which can trigger whenever Cellular is not able to ping ...
0
votes
1answer
26 views

How to use BitsTransfer to download a file from a remote host with domain authentication

I need to be able to download a file from a server (running windows Server 2008 r2) to my client windows 10 computer over a network that uses domain authentication (I will need to provide credentials ...
0
votes
1answer
24 views

How to toggle Win10 bluetooth off and on at startup

I have a Win10 laptop that I move back and forth between home and work. I use identical-but-separate bluetooth mice at each location. Each time I switch locations (and thus switch bluetooth mice), I ...

15 30 50 per page