{"id":521,"date":"2010-02-15T21:24:00","date_gmt":"2010-02-15T21:24:00","guid":{"rendered":"http:\/\/atumvirtwordpress.azurewebsites.net\/?p=521"},"modified":"2010-02-15T21:24:00","modified_gmt":"2010-02-15T21:24:00","slug":"powershell-remoting-again","status":"publish","type":"post","link":"https:\/\/avtempwp.azurewebsites.net\/2010\/02\/powershell-remoting-again\/","title":{"rendered":"Powershell Remoting Again"},"content":{"rendered":"

The plan was simple:\u00a0 Create a script to remotely rename several hundred machines to match the new organizational naming standard.\u00a0 This would require pulling from several asset and employee databases as well as querying AD for user properties.\u00a0 \u201cPowershell should be great!\u201d\u00a0 The data pulls work fantastic, however, the rename not so much.\u00a0 It seems Win32_ComputerSystem.Rename method doesn\u2019t work remotely \u2013 and Powershell remoting isn\u2019t actually like being on the local machine at all, apparently.\u00a0 It is unfortunate that Win32_ComputerSystem doesn\u2019t work remotely, and that we don\u2019t have the Windows Management Framework deployed on the desktops so that we could simply run it as a login script.\u00a0 Currently, we\u2019ve got no way to restrict the powershell command prompt and we\u2019re not keen on using software restriction policies just yet.\u00a0 We\u2019re examining the implications of deploying it to the organization.\u00a0 Still, it is a bit of a letdown regardless that even with remoting it isn\u2019t like being on the local system.\u00a0 Looks like I may have to hack up some psexec solution.<\/p>\n","protected":false},"excerpt":{"rendered":"

The plan was simple:\u00a0 Create a script to remotely rename several hundred machines to match the new organizational naming standard.\u00a0 This would require pulling from several asset and employee databases as well as querying AD for user properties.\u00a0 \u201cPowershell should be great!\u201d\u00a0 The data pulls work fantastic, however, the rename not so much.\u00a0 It seems […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[40],"tags":[],"_links":{"self":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts\/521"}],"collection":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/comments?post=521"}],"version-history":[{"count":0,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/posts\/521\/revisions"}],"wp:attachment":[{"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/media?parent=521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/categories?post=521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avtempwp.azurewebsites.net\/wp-json\/wp\/v2\/tags?post=521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}