Skip to main content

All Questions

2 votes
1 answer
24k views

Create a new VPN connection via Powershell

I have to create an application with PowerShell that creates a new VPN connection (adapter) to a given host, with given settings (credentials, etc...). The computers will be running Windows 7. I ...
Ob1lan's user avatar
  • 1,906
2 votes
0 answers
1k views

Does powershell use CLR?

I know that powershell was built on top of .net. So does that mean it uses CLR? If yes, does that mean CLR works as an interpreter, converting directly from *.ps1 into machine code?
Foo's user avatar
  • 269
0 votes
2 answers
2k views

Why does running Powershell script line by line work, but the same thru executing script file - does not?

In Windows 7 Prof, executing in Windows Powershell_ISE (as administrator) the Powershell (ver. 3) commands produces expected result (of adding a domain user to local/machine Administrators group) but ...
Fulproof's user avatar
  • 101
0 votes
1 answer
516 views

Remotely start VLC w/Salt Stack

Using Salt Stack, how does one remotely start a Windows program on the console screen? In other words, from my Salt Master (CentOS based), I want to push this sort of command to Windows 7 (with Salt ...
Roger's user avatar
  • 151
3 votes
1 answer
67 views

Installing Windows patch from command line gives BSOD but fine if double clicked?

I'm trying to programatically install some Windows updates that were manually downloaded. If I double click the .exe and run through the install manually - everything works fine. If I, however, use ...
nullByteMe's user avatar
0 votes
1 answer
3k views

Can't change Powershell ExecutionPolicy of User Account

Typing Get-ExecutionPolicy in PowerShell as Administrator returns Restricted, but when I run Powershell as User Account and type Get-ExecutionPolicy it returns Unrestricted. Why is that ? I thougt ...
Devid's user avatar
  • 6,397
6 votes
3 answers
4k views

Upgrading Windows 7's PowerShell v3, to Windows 8's PowerShell v3

I have becoming increasingly aware that Windows 7's PowerShell v3 lacks cmdlets / functions and modules found in Windows 8's version of PowerShell 3. My question: Is there anyway of 'upgrading' ...
Guy Thomas's user avatar
  • 3,328
4 votes
2 answers
14k views

How do you install the NETTCPIP from Powershell 3.0 in Windows 7.0

How do you install the new NETTCPIP from PowerShell 3.0 in Windows 7.0? I've double checked what I've got installed with $host.version and it's showing as 3.0, so why aren't the new NET TCP/IP ...
SteveC's user avatar
  • 2,154