摘要:
For aquick start, tell SetACL the following:Object name (-on): This is the path to the object SetACL should operate on (file/directory/registry key/network share/service/printer).Object type (-ot): What kind of object does the object name refer to: file or directory (file), registry key (reg), servi 阅读全文
posted @ 2014-01-31 10:39
Edward Guan
阅读(844)
评论(0)
推荐(0)
摘要:
MKServerBuilder.psm1function Test-ElevatedShell{ $user = [Security.Principal.WindowsIdentity]::GetCurrent() (New-Object Security.Principal.WindowsPrincipal $user).IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)}if(!(Test-ElevatedShell)){$warning=@" To run commands exposed b... 阅读全文
posted @ 2014-01-31 10:18
Edward Guan
阅读(221)
评论(0)
推荐(0)
摘要:
MKServerBuilder.psd1## Module manifest for module 'MKServerBuilder'## Generated by: Edward Guan## Generated on: 02/01/2014#@{ # Script module or binary module file associated with this manifestModuleToProcess = 'MKServerBuilder.psm1'# Version number of this module.ModuleVersion = 阅读全文
posted @ 2014-01-31 10:16
Edward Guan
阅读(376)
评论(0)
推荐(0)

浙公网安备 33010602011771号