凭据 [英] Credential

查看:59
本文介绍了凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候,

我是powershell的新手。

I am newbie in powershell.

我被要求为远程安装编写脚本代码。

I was ask to code a script for a remote installation.

说,

我有一台机器叫做Techsupport。

I have a machine callled Techsupport.

我有另一台叫做USER的机器。

I have another machine called USER.

两台计算机(Windows 7)位于同一个域中,在Techsupport计算机上登录的域用户(技术支持)在USER计算机上具有本地管理员权限。

Both machine (Windows 7) are in same domain, the domain user (tech support) who login on Techsupport machine has the local administrator rights on USER machine.

技术支持 使用Techsupport机器上的脚本安装JAVA(共享驱动程序上的安装媒体) 加工用户。

The Tech support  use that script from Techsupport machine to install JAVA (installation media on the shared driver)  to machine USER.

有人能给我一些想法吗?

can someone give me some idea for beginning?

Winrm命令如何工作?

How the command Winrm works?

我需要在Techsupport和USER机器上使用什么命令? />

What EXACTLY command I need to put on Techsupport and USER machine

谢谢

userausera

userausera

新手在powershell

newbie in powershell

推荐答案

首先学习两件事。

Start by learning two things.

1 - 了解如何Windows工作原理
2 - 了解PowerShell的基础知识。

1 - Learn how Windows works
2 - Learn the basics of PowerShell.

要了解如何编写可远程使用的脚本,您必须在技术上熟练掌握Windows网络你必须了解如何编写脚本的基础知识。 掌握了这些项目之后,你需要学习Windows
远程学习。

To understand how to write a script that can be used remotely you must be technically proficient in Windows networking then you must understand the basics of how to write a script.  After you have mastered those items you will then need to learn Windows remoting.

简而言之,你不能以你提出的方式做你所要求的,

In a nutshell you cannot do what you ask in the way you are asking it,

另请注意,没有"命令"将程序放在任何机器上。

Also note there is not "command" to put a program on any machine.

Java最好通过组策略分发,不需要脚本。 在Oracle论坛中发布有关如何部署Java的说明。

Java can best be distributed via Group Policy and requires no scripting.  Post in Oracle forum for instructions on how to deploy Java.


这篇关于凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆