当前位置: 首页 > wzjs >正文

分答网站职业教育网站开发

分答网站,职业教育网站开发,网站运营实例,wordpress chessUPD 文件名与所有者用户进行匹配,手动将 SID 转换为用户帐户名: Get-ADUser -Identity S-1-5-21-32549751-3956249758-2943215497-23733695或者使用ShowUPDFolderDetails.ps1脚本,该脚本显示指定文件夹中的 UPD 文件的名称及其所有者&#x…

UPD 文件名与所有者用户进行匹配,手动将 SID 转换为用户帐户名:

Get-ADUser -Identity S-1-5-21-32549751-3956249758-2943215497-23733695

或者使用ShowUPDFolderDetails.ps1脚本,该脚本显示指定文件夹中的 UPD 文件的名称及其所有者:

$UPDShare = "\\fs01\RDSProfiles"
$UserProfiles = @()
$fc = new-object -com scripting.filesystemobject
$folder = $fc.getfolder($UPDShare)
"Username,SiD" >> export.csv
foreach ($i in $folder.files)
{
$sid = $i.Name
$sid = $sid.Substring(5,$sid.Length-10)
if ($sid -ne "template")
{
$securityidentifier = new-object security.principal.securityidentifier $sid
$user = ( $securityidentifier.translate( [security.principal.ntaccount] ) )
$UserProfile = New-Object PSObject -Property @{
UserName = $user
UPDFile=$i.Name
}
$UserProfiles += $UserProfile
}
}
$UserProfiles| select UserName, UPDFile

在 Windows Server RDS 上配置用户配置文件磁盘 (UPD)
使用windows应用程序查看

参考另一脚本

#——————————– Script ——————————–$Files = gci $UPD_Location -NameForeach ($SID in $Files) {
If ($SID -match .vhdx”) {
$SID = $SID.Substring(5) -replace .vhdx”
If ($SID-match “template”) {
Write-Host “Template File”
} Else {
$objUser = “UNKNOWN”
$UserName = “UNKNOWN”
$objSID = New-Object System.Security.Principal.SecurityIdentifier ($SID)
$objUser = $objSID.Translate( [System.Security.Principal.NTAccount])
$UserName = $objUSer.Value.trim(“$DomainName\)
$TextFile = $UPD_Location + \UVHD-” + $SID +   + $UserName + .txt”
New-Item $TextFile -ItemType file -Force
}
}
}

文章转载自:

http://I7zqwoVA.bpmnq.cn
http://JP7uVN0a.bpmnq.cn
http://xIfYHbzl.bpmnq.cn
http://G6974ih4.bpmnq.cn
http://Sa10jfor.bpmnq.cn
http://0AhY4bOO.bpmnq.cn
http://KrVUpzsl.bpmnq.cn
http://tFaUJRb1.bpmnq.cn
http://EZVd1VWB.bpmnq.cn
http://1X8NI6p3.bpmnq.cn
http://2pe5pQCX.bpmnq.cn
http://tpH08LtI.bpmnq.cn
http://ivuNK83k.bpmnq.cn
http://flS4mhXr.bpmnq.cn
http://7eqZEtVv.bpmnq.cn
http://tw2lCh5A.bpmnq.cn
http://ZFwZvTXv.bpmnq.cn
http://H2ePwiVZ.bpmnq.cn
http://8z7lNyhZ.bpmnq.cn
http://BVq4MS30.bpmnq.cn
http://iCHMBZsT.bpmnq.cn
http://qm9HzD3p.bpmnq.cn
http://wl6WswXm.bpmnq.cn
http://WIZqVM3e.bpmnq.cn
http://6w2m4oA4.bpmnq.cn
http://e8ezDbrk.bpmnq.cn
http://CrKpV99r.bpmnq.cn
http://OjajWgzf.bpmnq.cn
http://SuZxkhWe.bpmnq.cn
http://byB5BeXg.bpmnq.cn
http://www.dtcms.com/wzjs/716980.html

相关文章:

  • 网站内容管理后台系统怎么做网站侧边 跟随 样式
  • 登别的网站应怎么做wordpress自定义背景
  • 站酷网络网站后期维护方案
  • app做好了网站怎么做如何做电影网站 去哪里找片源
  • 行唐县网站建设济南专业做网站公司
  • 创网站永久免费建站网络黄页进入有限公司
  • 网站备案管理系统登录不上去公司做网站收费
  • 烟台网站推广哪家好深圳网站建设知名 乐云践新
  • 视频网站超链接怎么做在线安装wordpress
  • 现在网站都是拿什么软件做的中学网站asp模板
  • 加入网站帮忙做网站session WordPress
  • 长春网站建设价格绵竹移动网站建设
  • 郴州网站开发公司vi设计百科
  • 手机建站系统网站建设智能优化
  • 专业网站定制价格便宜重庆本地网站论坛有哪些
  • 网站栏目建设调研北京王府井图片
  • 国内企业网站欣赏外贸网站源码怎么建
  • 微信微网站开发报价单网站开发的
  • 行业网站有哪些平台公司品牌网站建设价格低
  • 可爱风格网站crm管理系统软件哪个好
  • 石家庄网站维护宁波医院通网站建设
  • 爱站攻略怎么自己做网址
  • 企业网站建设的具体需求哪里能找到免费网站
  • 专业网站设计公司哪里有joomla 做的网站
  • 邢台住房和城乡建设部网站常用的网站开发语言有哪些
  • 网站可以做多少优化关键词新华路街道网站建设
  • 唐山乾正建设工程材料检测公司网站天津做优化的网站有多少家
  • 兰州北山生态建设局网站市场营销考研可以考哪些专业
  • 白银网站建设熊掌号公司网站域名查询
  • 微网站 手机网站百度上做网站需要钱吗