跨平台PowerShell远程协议(PSRP)使用Basic认证将只支持HTTPS模式

上个月有人在跨平台PowerShell远程协议(PSRP)上发了一个bug:使用Basic认证和HTTP方式从Linux远程到Windows会报Access Denied https://github.com/PowerShell/psl-omi-provider/issues/114我troub...

2018-05-08 07:07:59

阅读数:37

评论数:0

跨平台PowerShell如何远程管理Linux/Mac/Windows?

跨平台PowerShell如何远程管理Linux/Mac/Windows?

2016-09-02 12:39:47

阅读数:4361

评论数:3

PowerShell VS Bash

PowerShell VS Bash

2016-09-01 18:00:26

阅读数:2394

评论数:1

微软刚刚发布开源跨平台PowerShell【赞!】

微软刚刚发布开源跨平台PowerShell https://blogs.msdn.microsoft.com/powershell/2016/08/18/powershell-on-linux-and-open-source-2/ 新的跨平台PowerShell是基于跨平台dotnet开发的新...

2016-08-19 11:15:38

阅读数:1291

评论数:0

PowerShell 5.0和跨平台PowerShell支持class类编程

PowerShell 5.0和跨平台PowerShell支持class类编程 PowerShell 5.0支持class类编程,具体查看:https://technet.microsoft.com/en-us/library/dn820211.aspx 这里给个最简单的例子: class...

2016-04-01 16:10:29

阅读数:1439

评论数:0

Deploy SCO IP using Powershell

comObject.types.ps1xml System.__ComObject GetProperty $type...

2013-09-26 15:43:10

阅读数:1824

评论数:0

How to know one virtual machine is in which host?

How to know one virtual machine is in which host? Run powershell command:  (get-item "HKLM:\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameter...

2013-04-27 11:06:20

阅读数:1506

评论数:0

Powershell example 6

<br />GetSecurityRSS.ps1#GetSecurityRSS.ps1 #Query Microsoft's Basic Security Feed for latest bulletins #Critical bulletins will be displayed...

2010-09-04 12:35:00

阅读数:1114

评论数:0

Powershell example 5

<br />SetPermswithCACLS.ps1#SetPermsWithCACLS.ps1 # CACLS rights are usually # F = FullControl # C = Change # R = Readonly # W = Write ...

2010-09-04 12:31:00

阅读数:1219

评论数:0

Powershell example 4

<br />BulkCopy.ps1#BulkCopy.ps1 Set-Location "C:/Logs" $files=Get-ChildItem |where {$_.extension -eq ".log"} foreach ($f...

2010-09-04 12:28:00

阅读数:1100

评论数:0

Powershell example 3

Blocktest.ps1$sb = { foreach ($process in $input) { $process.ProcessName } } get-process | &$sb Functiontest.ps1$a = "Hello&...

2010-09-04 12:25:00

阅读数:1182

评论数:0

Powershell example 2

ProcessCPU.ps1#ProcessCPU.ps1 $process=get-process $low=0 #counter for low cpu processes $med=0 #counter for medium cpu processes $high=0 #counte...

2010-09-04 12:23:00

阅读数:1204

评论数:0

Powershell example 1

<br />Restart-Computers.ps1# Define input parameters param ( [string] $filename = $(throw "Filename is required!") ) Write-Ho...

2010-09-04 12:19:00

阅读数:1222

评论数:0

Type in PowerShell

1.Boolean<br />A "true" or "false" value. This type doesn't include any significant methods or properties. Note that PowerS...

2010-09-03 17:34:00

阅读数:1203

评论数:0

8.Leveraging the Power of ADO and 9.Managing Exchange 2007

<br />8.##################################################################################################Leveraging the Power of ADO<br /&g...

2010-09-03 17:26:00

阅读数:1265

评论数:0

6.Querying WMI and 7.Working with Active Directory

<br />6.##################################################################################################Querying WMI<br />Get-WmiObject...

2010-09-03 17:20:00

阅读数:1573

评论数:0

5.Using PowerShell Scripts and 5.Using WMI

<br />Get-ChildItem c:/fso | Where-Object {$_.Length -gt 1000} | Sort-Object -Property name<br />foreach ($i in $args) {Get-ChildItem $i ...

2010-09-03 16:58:00

阅读数:1346

评论数:0

2.Using Windows PowerShell Cmdlets and 3.Leveraging PowerShell Providers

<br />PS C:/> get-alias dir<br />PS C:/> get-childitem C:/<br />get-childitem |format-list<br />get-childitem C:/ | for...

2010-09-03 16:55:00

阅读数:1178

评论数:0

1.Overview of Windows PowerShell

PS C:/Documents and Settings/somebody> cd c:/ PS C:/> dirPS C:/> md c:/testPS C:/> cd c:/testPS C:/test> fsutil file createNew c:/test...

2010-09-03 16:49:00

阅读数:1195

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭