{"id":300996,"date":"2020-03-31T03:00:24","date_gmt":"2020-03-31T03:00:24","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=300996"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=300996","title":{"rendered":"\u0414\u0435\u043b\u0435\u0433\u0438\u0440\u0443\u0435\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 RDP-\u0441\u0435\u0430\u043d\u0441\u0430\u043c\u0438"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/494300\/\"><a href=\"https:\/\/habr.com\/ru\/post\/494300\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/kf\/ol\/79\/kfol79ywk-g5z6_yykju9wpfsjc.jpeg\"><\/div>\n<p><\/a><br \/>  \u0412 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438, \u0433\u0434\u0435 \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e, \u0443\u0434\u0430\u043b\u0435\u043d\u043a\u0430 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u0430 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435. \u0411\u044b\u043b\u0430. \u0414\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432 \u0441\u0440\u043e\u0447\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0432\u043d\u0435\u0434\u0440\u044f\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0442 \u0431\u0438\u0437\u043d\u0435\u0441\u0430 \u2014 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u043e\u043c\u0443 \u0444\u043e\u0440\u043c\u0430\u0442\u0443 \u0440\u0430\u0431\u043e\u0442\u044b, \u043e\u0442 \u043d\u0430\u0441 \u2014 PKI \u0441 \u043f\u0438\u043d-\u043a\u043e\u0434\u0430\u043c\u0438 \u0438 \u0442\u043e\u043a\u0435\u043d\u0430\u043c\u0438, VPN, \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u043c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u0435\u0449\u0451.<br \/>  \u041f\u043e\u043c\u0438\u043c\u043e \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0447\u0435\u0433\u043e, \u044f \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0441\u0442\u043e\u043b\u043e\u0432 aka \u0441\u043b\u0443\u0436\u0431\u044b \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u043e\u0432.\u00a0\u0423\u00a0\u043d\u0430\u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e RDS-\u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0439 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0426\u041e\u0414\u0430\u0445. \u041e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0437\u0430\u0434\u0430\u0447 \u0431\u044b\u043b\u043e \u0434\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u0438\u0437 \u0441\u043c\u0435\u0436\u043d\u044b\u0445 \u043f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0439 \u0418\u0422 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c \u0441\u0435\u0430\u043d\u0441\u0430\u043c \u0432 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435. \u041a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u0448\u0442\u0430\u0442\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c RDS Shadow \u0438 \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0435\u0433\u043e \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u2014 \u0434\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u043d\u0430 RDS-\u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445.<br \/>  \u042f \u0443\u0432\u0430\u0436\u0430\u044e \u0438 \u0446\u0435\u043d\u044e \u0441\u0432\u043e\u0438\u0445 \u043a\u043e\u043b\u043b\u0435\u0433, \u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0436\u0430\u0434\u043d\u044b\u0439 \u0434\u043e \u0440\u0430\u0437\u0434\u0430\u0447\u0438 \u0430\u0434\u043c\u0438\u043d\u0441\u043a\u0438\u0445 \u043f\u0440\u0430\u0432. \ud83d\ude42 \u0422\u0435\u0445, \u043a\u0442\u043e \u0441\u043e \u043c\u043d\u043e\u0439 \u0441\u043e\u043b\u0438\u0434\u0430\u0440\u0435\u043d, \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0427\u0442\u043e \u0436,\u00a0\u0437\u0430\u0434\u0430\u0447\u0430 \u044f\u0441\u043d\u0430, \u0442\u0435\u043f\u0435\u0440\u044c \u2014 \u043a \u0434\u0435\u043b\u0443.<\/p>\n<h2>\u0428\u0430\u0433 1<\/h2>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 Active Directory \u0433\u0440\u0443\u043f\u043f\u0443 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 <i>RDP_Operators<\/i> \u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0432 \u043d\u0435\u0435 \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u0442\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0445\u043e\u0442\u0438\u043c \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0430:<\/p>\n<pre><code class=\"powershell\">$Users = @( \u00a0 \u00a0 &quot;UserLogin1&quot;, \u00a0 \u00a0 &quot;UserLogin2&quot;, \u00a0 \u00a0 &quot;UserLogin3&quot; ) $Group = &quot;RDP_Operators&quot; New-ADGroup -Name $Group -GroupCategory Security -GroupScope DomainLocal Add-ADGroupMember -Identity $Group -Members $Users <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e AD-\u0441\u0430\u0439\u0442\u043e\u0432, \u0442\u043e \u043f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0448\u0430\u0433\u0443, \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u043e\u0436\u0434\u0430\u0442\u044c, \u043f\u043e\u043a\u0430 \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u043f\u043b\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0432\u0441\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b \u0434\u043e\u043c\u0435\u043d\u0430. \u041e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 15 \u043c\u0438\u043d\u0443\u0442.<\/p>\n<h2>\u0428\u0430\u0433 2<\/h2>\n<p>  \u0414\u0430\u0434\u0438\u043c \u0433\u0440\u0443\u043f\u043f\u0435 \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0435\u0441\u0441\u0438\u044f\u043c\u0438 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 RDSH-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Set-RDSPermissions.ps1<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"powershell\">$Group = &quot;RDP_Operators&quot; $Servers = @( \u00a0 \u00a0 &quot;RDSHost01&quot;, \u00a0 \u00a0 &quot;RDSHost02&quot;, \u00a0 \u00a0 &quot;RDSHost03&quot; ) ForEach ($Server in $Servers) { \u00a0 \u00a0 #\u0414\u0435\u043b\u0435\u0433\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u0430\u0432\u043e \u043d\u0430 \u0442\u0435\u043d\u0435\u0432\u044b\u0435 \u0441\u0435\u0441\u0441\u0438\u0438 \u00a0 \u00a0 $WMIHandles = Get-WmiObject ` \u00a0 \u00a0 \u00a0 \u00a0 -Class &quot;Win32_TSPermissionsSetting&quot; ` \u00a0 \u00a0 \u00a0 \u00a0 -Namespace &quot;root\\CIMV2\\terminalservices&quot; ` \u00a0 \u00a0 \u00a0 \u00a0 -ComputerName $Server ` \u00a0 \u00a0 \u00a0 \u00a0 -Authentication PacketPrivacy ` \u00a0 \u00a0 \u00a0 \u00a0 -Impersonation Impersonate \u00a0 \u00a0 ForEach($WMIHandle in $WMIHandles) \u00a0 \u00a0 { \u00a0 \u00a0 \u00a0 \u00a0 If ($WMIHandle.TerminalName -eq &quot;RDP-Tcp&quot;) \u00a0 \u00a0 \u00a0 \u00a0 { \u00a0 \u00a0 \u00a0 \u00a0 $retVal = $WMIHandle.AddAccount($Group, 2) \u00a0 \u00a0 \u00a0 \u00a0 $opstatus = &quot;\u0443\u0441\u043f\u0435\u0448\u043d\u043e&quot; \u00a0 \u00a0 \u00a0 \u00a0 If ($retVal.ReturnValue -ne 0) { \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 $opstatus = &quot;\u043e\u0448\u0438\u0431\u043a\u0430&quot; \u00a0 \u00a0 \u00a0 \u00a0 } \u00a0 \u00a0 \u00a0 \u00a0 Write-Host (&quot;\u0414\u0435\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0430\u0432 \u043d\u0430 \u0442\u0435\u043d\u0435\u0432\u043e\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u0435 &quot; + \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 $Group + &quot; \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 &quot; + $Server + &quot;: &quot; + $opstatus + &quot;`r`n&quot;) \u00a0 \u00a0 \u00a0 \u00a0 } \u00a0 \u00a0 } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<h2>\u0428\u0430\u0433 3<\/h2>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0433\u0440\u0443\u043f\u043f\u0443 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443 <i>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0441\u0442\u043e\u043b\u0430<\/i> \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437 RDSH-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u0432 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u0441\u0435\u0430\u043d\u0441\u043e\u0432, \u0442\u043e \u0434\u0435\u043b\u0430\u0435\u043c \u044d\u0442\u043e \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438:<\/p>\n<pre><code class=\"powershell\">$Group = &quot;RDP_Operators&quot; $CollectionName = &quot;MyRDSCollection&quot; [String[]]$CurrentCollectionGroups = @(Get-RDSessionCollectionConfiguration -CollectionName $CollectionName -UserGroup).UserGroup Set-RDSessionCollectionConfiguration -CollectionName $CollectionName -UserGroup ($CurrentCollectionGroups + $Group) <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u043c <a href=\"https:\/\/windowsnotes.ru\/windows-server-2008\/dobavlyaem-domennyx-polzovatelej-v-lokalnuyu-gruppu-bezopasnosti\/\" rel=\"nofollow\">\u0433\u0440\u0443\u043f\u043f\u043e\u0432\u0443\u044e \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0443<\/a>, \u0434\u043e\u0436\u0434\u0430\u0432\u0448\u0438\u0441\u044c, \u043f\u043e\u043a\u0430 \u043e\u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445. \u0422\u0435, \u043a\u043e\u043c\u0443 \u043b\u0435\u043d\u044c \u0436\u0434\u0430\u0442\u044c, \u043c\u043e\u0433\u0443\u0442 \u0444\u043e\u0440\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0434\u043e\u0431\u0440\u043e\u0433\u043e gpupdate, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e <a href=\"https:\/\/www.alexandreviot.net\/2015\/05\/21\/gpmc-force-gpupdate-on-ou\/\" rel=\"nofollow\">\u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e<\/a>.<\/p>\n<h2>\u0428\u0430\u0433 4<\/h2>\n<p>  \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043c \u0434\u043b\u044f \u00ab\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0446\u0435\u0432\u00bb \u0442\u0430\u043a\u043e\u0439 PS-\u0441\u043a\u0440\u0438\u043f\u0442:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">RDSManagement.ps1<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"powershell\">$Servers = @( \u00a0 \u00a0 &quot;RDSHost01&quot;, \u00a0 \u00a0 &quot;RDSHost02&quot;, \u00a0 \u00a0 &quot;RDSHost03&quot; )  function Invoke-RDPSessionLogoff {     Param(         [parameter(Mandatory=$True, Position=0)][String]$ComputerName,         [parameter(Mandatory=$true, Position=1)][String]$SessionID     )     $ErrorActionPreference = &quot;Stop&quot;     logoff $SessionID \/server:$ComputerName \/v 2&gt;&amp;1 }  function Invoke-RDPShadowSession {     Param(         [parameter(Mandatory=$True, Position=0)][String]$ComputerName,         [parameter(Mandatory=$true, Position=1)][String]$SessionID     )     $ErrorActionPreference = &quot;Stop&quot;     mstsc \/shadow:$SessionID \/v:$ComputerName \/control 2&gt;&amp;1 }  Function Get-LoggedOnUser {     Param(         [parameter(Mandatory=$True, Position=0)][String]$ComputerName=&quot;localhost&quot;     )     $ErrorActionPreference = &quot;Stop&quot;     Test-Connection $ComputerName -Count 1 | Out-Null     quser \/server:$ComputerName 2&gt;&amp;1 | Select-Object -Skip 1 | ForEach-Object {         $CurrentLine = $_.Trim() -Replace &quot;\\s+&quot;,&quot; &quot; -Split &quot;\\s&quot;         $HashProps = @{             UserName = $CurrentLine[0]             ComputerName = $ComputerName         }         If ($CurrentLine[2] -eq &quot;Disc&quot;) {             $HashProps.SessionName = $null             $HashProps.Id = $CurrentLine[1]             $HashProps.State = $CurrentLine[2]             $HashProps.IdleTime = $CurrentLine[3]             $HashProps.LogonTime = $CurrentLine[4..6] -join &quot; &quot;             $HashProps.LogonTime = $CurrentLine[4..($CurrentLine.GetUpperBound(0))] -join &quot; &quot;         }         else {             $HashProps.SessionName = $CurrentLine[1]             $HashProps.Id = $CurrentLine[2]             $HashProps.State = $CurrentLine[3]             $HashProps.IdleTime = $CurrentLine[4]             $HashProps.LogonTime = $CurrentLine[5..($CurrentLine.GetUpperBound(0))] -join &quot; &quot;         }         New-Object -TypeName PSCustomObject -Property $HashProps |         Select-Object -Property UserName, ComputerName, SessionName, Id, State, IdleTime, LogonTime     } }  $UserLogin = Read-Host -Prompt &quot;\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043b\u043e\u0433\u0438\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f&quot; Write-Host &quot;\u041f\u043e\u0438\u0441\u043a RDP-\u0441\u0435\u0441\u0441\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445...&quot; $SessionList = @() ForEach ($Server in $Servers) {     $TargetSession = $null     Write-Host &quot;  \u041e\u043f\u0440\u043e\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 $Server&quot;     Try {         $TargetSession = Get-LoggedOnUser -ComputerName $Server | Where-Object {$_.UserName -eq $UserLogin}     }     Catch {         Write-Host &quot;\u041e\u0448\u0438\u0431\u043a\u0430: &quot; $Error[0].Exception.Message -ForegroundColor Red         Continue     }     If ($TargetSession) {         Write-Host &quot;    \u041d\u0430\u0439\u0434\u0435\u043d\u0430 \u0441\u0435\u0441\u0441\u0438\u044f \u0441 ID $($TargetSession.ID) \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 $Server&quot; -ForegroundColor Yellow         Write-Host &quot;    \u0427\u0442\u043e \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c?&quot;         Write-Host &quot;      1 - \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0441\u0435\u0441\u0441\u0438\u0438&quot;         Write-Host &quot;      2 - \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u0441\u0435\u0441\u0441\u0438\u044e&quot;         Write-Host &quot;      0 - \u043d\u0438\u0447\u0435\u0433\u043e&quot;         $Action = Read-Host -Prompt &quot;\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435&quot;         If ($Action -eq &quot;1&quot;) {             Invoke-RDPShadowSession -ComputerName $Server -SessionID $TargetSession.ID         }         ElseIf ($Action -eq &quot;2&quot;) {             Invoke-RDPSessionLogoff -ComputerName $Server -SessionID $TargetSession.ID         }         Break     }     Else {         Write-Host &quot;    \u0441\u0435\u0441\u0441\u0438\u0439 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e&quot;     } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0427\u0442\u043e\u0431\u044b PS-\u0441\u043a\u0440\u0438\u043f\u0442 \u0431\u044b\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c, \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443 \u0432 \u0432\u0438\u0434\u0435 cmd-\u0444\u0430\u0439\u043b\u0430 \u0441 \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u0438\u043c\u0435\u043d\u0435\u043c, \u043a\u0430\u043a \u0443 PS-\u0441\u043a\u0440\u0438\u043f\u0442\u0430:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">RDSManagement.cmd<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"dos\">@ECHO OFF powershell -NoLogo -ExecutionPolicy Bypass -File &quot;%~d0%~p0%~n0.ps1&quot; %* <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041a\u043b\u0430\u0434\u0435\u043c \u043e\u0431\u0430 \u0444\u0430\u0439\u043b\u0430 \u0432 \u043f\u0430\u043f\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u00ab\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0446\u0430\u043c\u00bb \u0438 \u043f\u0440\u043e\u0441\u0438\u043c \u0438\u0445 \u043f\u0435\u0440\u0435\u043b\u043e\u0433\u0438\u043d\u0438\u0442\u044c\u0441\u044f. \u0422\u0435\u043f\u0435\u0440\u044c, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0432 cmd-\u0444\u0430\u0439\u043b, \u043e\u043d\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u0441\u0435\u0441\u0441\u0438\u044f\u043c \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 RDS Shadow \u0438 \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0445 \u0440\u0430\u0437\u043b\u043e\u0433\u0438\u043d\u0438\u0432\u0430\u0442\u044c (\u0431\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u00ab\u0437\u0430\u0432\u0438\u0441\u0448\u0443\u044e\u00bb \u0441\u0435\u0441\u0441\u0438\u044e).<\/p>\n<p>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0414\u043b\u044f \u00ab\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0446\u0430\u00bb<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ft\/bb\/dn\/ftbbdn7nlbtjzpheuzqcnfdx-qu.png\">  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0414\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zy\/ah\/do\/zyahdotobsubww90bgmihjhmncm.png\">  <\/div>\n<\/div>\n<p>  <\/p>\n<h2>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0439 \u043d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a<\/h2>\n<p>  <b>\u041d\u044e\u0430\u043d\u0441 1<\/b>. \u0415\u0441\u043b\u0438 \u0441\u0435\u0430\u043d\u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u0431\u044b\u043b \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441\u043a\u0440\u0438\u043f\u0442 Set-RDSPermissions.ps1, \u0442\u043e \u00ab\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0435\u0446\u00bb \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u0430. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0437\u0434\u0435\u0441\u044c \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e: \u043f\u043e\u0434\u043e\u0436\u0434\u0430\u0442\u044c, \u043f\u043e\u043a\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0435\u0440\u0435\u043b\u043e\u0433\u0438\u043d\u0438\u0442\u0441\u044f.<\/p>\n<p>  <b>\u041d\u044e\u0430\u043d\u0441 2<\/b>. \u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0434\u043d\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 RDP Shadow \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u0442\u043e \u043b\u0438 \u0431\u0430\u0433, \u0442\u043e \u043b\u0438 \u0444\u0438\u0447\u0443: \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0442\u0435\u043d\u0435\u0432\u043e\u0433\u043e \u0441\u0435\u0430\u043d\u0441\u0430 \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u043b\u0438\u0441\u044c, \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u044f\u0437\u044b\u043a\u043e\u0432\u0430\u044f \u043f\u0430\u043d\u0435\u043b\u044c \u0432 \u0442\u0440\u0435\u0435 \u0438 \u0447\u0442\u043e\u0431\u044b \u0435\u0435 \u0432\u0435\u0440\u043d\u0443\u0442\u044c, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043b\u043e\u0433\u0438\u043d\u0438\u0442\u044c\u0441\u044f. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u043c\u044b \u043d\u0435 \u043e\u0434\u0438\u043d\u043e\u043a\u0438: <a href=\"https:\/\/social.technet.microsoft.com\/Forums\/ru-RU\/6f738827-70a1-448c-8635-a01e41afca8f\/windows-2012r2-language-bar-disappears-after-shadow?forum=winserverTS\" rel=\"nofollow\">\u0440\u0430\u0437<\/a>, <a href=\"https:\/\/theitbros.com\/fix-a-problem-with-language-bar-in-windows-server-20082012-r2\/\" rel=\"nofollow\">\u0434\u0432\u0430<\/a>, <a href=\"http:\/\/gallery.ru-board.com\/topic.cgi?forum=8&amp;topic=81543\" rel=\"nofollow\">\u0442\u0440\u0438<\/a>.<\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0451. \u0416\u0435\u043b\u0430\u044e \u0437\u0434\u043e\u0440\u043e\u0432\u044c\u044f \u0432\u0430\u043c \u0438 \u0432\u0430\u0448\u0438\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c. \u041a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u0436\u0434\u0443 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0438 \u043f\u0440\u043e\u0448\u0443 \u043f\u0440\u043e\u0439\u0442\u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043e\u043f\u0440\u043e\u0441 \u043d\u0438\u0436\u0435.<\/p>\n<h2>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438<\/h2>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/winitpro.ru\/index.php\/2014\/02\/12\/rds-shadow-v-windows-2012-r2\/\" rel=\"nofollow\">RDS Shadow \u2013 \u0442\u0435\u043d\u0435\u0432\u043e\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a RDP \u0441\u0435\u0441\u0441\u0438\u044f\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 Windows Server 2016 \/ 2012 R2<\/a><\/li>\n<li><a href=\"https:\/\/purerds.org\/remote-desktop-scripts\/granting-shadowing-permissions-non-admins-windows-server-2012-r2\/\" rel=\"nofollow\">Windows Server 2012 Shadowing \u2013 Delegating Rights To Non-Admins<\/a><\/li>\n<li><a href=\"https:\/\/gallery.technet.microsoft.com\/scriptcenter\/Get-LoggedOnUser-Gathers-7cbe93ea\" rel=\"nofollow\">Get-LoggedOnUser Gathers information of logged on users on remote systems<\/a><\/li>\n<li><a href=\"https:\/\/www.sevecek.com\/EnglishPages\/Lists\/Posts\/Post.aspx?ID=98\" rel=\"nofollow\">The best way how to start PowerShell PS1 scripts<\/a><\/li>\n<li><a href=\"https:\/\/windowsnotes.ru\/windows-server-2008\/dobavlyaem-domennyx-polzovatelej-v-lokalnuyu-gruppu-bezopasnosti\/\" rel=\"nofollow\">\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438<\/a><\/li>\n<li><a href=\"https:\/\/www.alexandreviot.net\/2015\/05\/21\/gpmc-force-gpupdate-on-ou\/\" rel=\"nofollow\">GPMC \u2013 Force gpupdate on all computers in OU<\/a><\/li>\n<\/ul>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/494300\/\"> https:\/\/habr.com\/ru\/post\/494300\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/494300\/\"><a href=\"https:\/\/habr.com\/ru\/post\/494300\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/kf\/ol\/79\/kfol79ywk-g5z6_yykju9wpfsjc.jpeg\"><\/div>\n<p><\/a><br \/>  \u0412 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438, \u0433\u0434\u0435 \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e, \u0443\u0434\u0430\u043b\u0435\u043d\u043a\u0430 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u0430 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435. \u0411\u044b\u043b\u0430. \u0414\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432 \u0441\u0440\u043e\u0447\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0432\u043d\u0435\u0434\u0440\u044f\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0442 \u0431\u0438\u0437\u043d\u0435\u0441\u0430 \u2014 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u043e\u043c\u0443 \u0444\u043e\u0440\u043c\u0430\u0442\u0443 \u0440\u0430\u0431\u043e\u0442\u044b, \u043e\u0442 \u043d\u0430\u0441 \u2014 PKI \u0441 \u043f\u0438\u043d-\u043a\u043e\u0434\u0430\u043c\u0438 \u0438 \u0442\u043e\u043a\u0435\u043d\u0430\u043c\u0438, VPN, \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u043c\u043d\u043e\u0433\u043e \u0447\u0435\u0433\u043e \u0435\u0449\u0451.<br \/>  \u041f\u043e\u043c\u0438\u043c\u043e \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0447\u0435\u0433\u043e, \u044f \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0441\u0442\u043e\u043b\u043e\u0432 aka \u0441\u043b\u0443\u0436\u0431\u044b \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u043e\u0432.\u00a0\u0423\u00a0\u043d\u0430\u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e RDS-\u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0439 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0426\u041e\u0414\u0430\u0445. \u041e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0437\u0430\u0434\u0430\u0447 \u0431\u044b\u043b\u043e \u0434\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u0438\u0437 \u0441\u043c\u0435\u0436\u043d\u044b\u0445 \u043f\u043e\u0434\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0439 \u0418\u0422 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c \u0441\u0435\u0430\u043d\u0441\u0430\u043c \u0432 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435. \u041a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u0448\u0442\u0430\u0442\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c RDS Shadow \u0438 \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0435\u0433\u043e \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u2014 \u0434\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u043d\u0430 RDS-\u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445.<br \/>  \u042f \u0443\u0432\u0430\u0436\u0430\u044e \u0438 \u0446\u0435\u043d\u044e \u0441\u0432\u043e\u0438\u0445 \u043a\u043e\u043b\u043b\u0435\u0433, \u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0436\u0430\u0434\u043d\u044b\u0439 \u0434\u043e \u0440\u0430\u0437\u0434\u0430\u0447\u0438 \u0430\u0434\u043c\u0438\u043d\u0441\u043a\u0438\u0445 \u043f\u0440\u0430\u0432. \ud83d\ude42 \u0422\u0435\u0445, \u043a\u0442\u043e \u0441\u043e \u043c\u043d\u043e\u0439 \u0441\u043e\u043b\u0438\u0434\u0430\u0440\u0435\u043d, \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-300996","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/300996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=300996"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/300996\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=300996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=300996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=300996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}