{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyomon.hatenablog.com%2Fentry%2F2015%2F04%2F10%2F170518\" title=\"PowerShell\u3067\u30d5\u30a1\u30a4\u30eb\u3084\u30d5\u30a9\u30eb\u30c0\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u8a2d\u5b9a\u3059\u308b - YOMON8.NET\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2015-04-10 17:05:18","type":"rich","provider_url":"https://hatena.blog","author_name":"yomon8","blog_title":"YOMON8.NET","provider_name":"Hatena Blog","width":"100%","author_url":"https://blog.hatena.ne.jp/yomon8/","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/y/yomon8/20150410/20150410165700.png","blog_url":"https://yomon.hatenablog.com/","title":"PowerShell\u3067\u30d5\u30a1\u30a4\u30eb\u3084\u30d5\u30a9\u30eb\u30c0\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u8a2d\u5b9a\u3059\u308b","categories":["PowerShell"],"height":"190","version":"1.0","description":"PowerShell\u3067Windows\u30d5\u30a1\u30a4\u30eb\u30fb\u30d5\u30a9\u30eb\u30c0\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002 #\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d $path = \"C:\\TEMP\" #\u30e6\u30fc\u30b6\u540d\u3084\u30b0\u30eb\u30fc\u30d7\u540d\uff08\u30c9\u30e1\u30a4\u30f3\u540d\u307e\u305f\u306f\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u540d\u304b\u3089\u6307\u5b9a\uff09 $userGroup = \"MYPC\\MyUser\" $acl = Get-Acl $path $permission = ($userGroup, [System.Security.AccessControl.FileSystemRights]::FullControl, [System.Security.AccessControl.InheritanceFlags]::Obj\u2026","url":"https://yomon.hatenablog.com/entry/2015/04/10/170518"}