Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30771 > unrolled thread

Re: How to execute commands on a windows machine from a Linux machine

Started byDennis Lee Bieber <wlfraed@ix.netcom.com>
First post2012-10-04 21:24 -0400
Last post2012-10-04 21:24 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to execute commands on a windows machine from a Linux machine Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-10-04 21:24 -0400

#30771 — Re: How to execute commands on a windows machine from a Linux machine

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2012-10-04 21:24 -0400
SubjectRe: How to execute commands on a windows machine from a Linux machine
Message-ID<mailman.1830.1349401550.27098.python-list@python.org>
On Thu, 4 Oct 2012 10:43:57 +0530, "Shambhu Rajak"
<shambhu.rajak@calsoftinc.com> declaimed the following in
gmane.comp.python.general:

> Here i have two questions,
> 
> 1.       I want  to write a framework for Linux machine that can execute
> commands on windows machine:
> 
> How to create a persistent shell between Linux and Windows machine.
>
	This depends upon how the Windows machine is configured -- does it
even permit one to telnet to it? In the Windows world, you'd be looking
for an enable "Remote Connection" service.
 
> 2.       I require to extract windows disk management features, for eg:
> Number of drives on that windows machine ,
> 
> volume size of the machine, to create a partition, all these storage stuffs.
> I want to achieve all these features of windows machine, from linux.
>

	Learn WMI or (for newer machines, if you can connect with
privileges, PowerShell v2)
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web