Author Posts

November 2, 2017 at 10:21 am

hello. Need help !! I used to run powershell scripts on Virtual machine. but now i want to run it on my local system(windows 8).can anyone help me knowing the processes, i should follow to integrate powershell with local system..

November 2, 2017 at 10:30 am

Hello.
Why can't you do this?

November 2, 2017 at 12:10 pm

Can you give us the error you're receiving when attempting to run the script?

November 2, 2017 at 10:41 pm

in Windows 8 click on start and type PowerShell – then go from there.

November 7, 2017 at 6:22 am

Hi. Actually i am trying to connect the local machine with demo server(vm) through a powershell script. I am showing you the format .
[$password = ConvertTo-SecureString "password to login into virtual machine" -AsPlainText -Force
$cred= New-Object System.Management.Automation.PSCredential ("Username for virtual machine login", $password )
Invoke-Command -ComputerName "virtual machine computer name" -ScriptBlock { "Powershell script which i want to run"} -credential $cred ]
I am totally new to PS. Please help!!

November 8, 2017 at 12:24 am

What error are you getting?

Have you checked out "Secrets of PowerShell Remoting" ebook in https://powershell.org/ebooks/