码迷,mamicode.com
首页 >  
搜索关键字:hyper-v powershell    ( 2274个结果)
PowerShell命令
Update-SPSolution -Identity contoso_solution.wsp -LiteralPath c:\contoso_solution_v2.wsp -GACDeployment此示例将已部署的 contoso_solution.wsp SharePoint 解决方案升级 ...
分类:系统相关   时间:2017-06-28 11:53:08    阅读次数:190
Powershell计算时间间隔(New-TimeSpan)
在Windows PowerShell里New-TimeSpan cmdlet提供了一种方法做日期算法。 计算时间间隔: 这个命令告诉你今天的日期与2006年除夕之间的天数: New-TimeSpan $(Get-Date) $(Get-Date –month 12 -day 31 -year 20 ...
分类:系统相关   时间:2017-06-26 22:50:06    阅读次数:601
Powershell Function Get-TimeZone
代码原文地址: https://gallery.technet.microsoft.com/scriptcenter/Get-TimeZone-PowerShell-4f1a34e6 ...
分类:系统相关   时间:2017-06-26 22:40:53    阅读次数:207
Powershell Exchange Server UP Time
Server up time ...
分类:系统相关   时间:2017-06-26 22:29:59    阅读次数:216
Powershell Function Get-PendingReboot
Function Get-PendingReboot { <# .SYNOPSIS Gets the pending reboot status on a local or remote computer. .DESCRIPTION This function will query the regi ...
分类:系统相关   时间:2017-06-26 22:27:12    阅读次数:201
Powershell Get-registerkey(susid)
Function Get-registerkey 引用前一篇文章中的代码的一部分做修改,从注册表中查询server的susid Function Get-registerkey { <# #> [CmdletBinding()] param( [Parameter(Position=0,ValueF ...
分类:系统相关   时间:2017-06-26 22:26:40    阅读次数:232
Powershell Get Domain Group的几种方法
Group常见属性介绍: 一、Get-ADGroup获取群组(如下例循环获取群组的发送权限) ...
分类:系统相关   时间:2017-06-24 16:27:21    阅读次数:285
Powershell Get Domain User的几种方法
一、Get-User单用户查询 二、Get-User多用户循环查询 $export=@() $Users=Get-ADUser -Filter * -SearchScope Subtree -SearchBase "OU=xx,OU=xx,dc=xx,dc=xx,dc=xx" -Properties ...
分类:系统相关   时间:2017-06-24 16:19:29    阅读次数:272
Powershell调用RemoteExchange.ps1
If ((Get-PSSnapin | where {$_.Name -match "Microsoft.Exchange.Management.PowerShell.E2010"}) -eq $null) { Add-PSSnapin Microsoft.Exchange.Management.P... ...
分类:系统相关   时间:2017-06-24 16:18:22    阅读次数:204
Powershell Get Domain Mailbox的几种方法
一、Disconnected Mailboxes 1、Finding Disconnected Mailboxes The first function is called Get-DisconnectedMailbox and the name is pretty much self explan ...
分类:系统相关   时间:2017-06-24 16:16:16    阅读次数:270
共2274条   上一页 1 ... 96 97 98 99 100 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!