{"id":1077,"date":"2016-10-20T12:59:07","date_gmt":"2016-10-20T11:59:07","guid":{"rendered":"https:\/\/www.lieben.nu\/liebensraum\/?p=1077"},"modified":"2016-10-20T12:59:07","modified_gmt":"2016-10-20T11:59:07","slug":"running-onedrivemapper-from-a-shortcut","status":"publish","type":"post","link":"https:\/\/lieben.nu\/liebensraum\/2016\/10\/running-onedrivemapper-from-a-shortcut\/","title":{"rendered":"Running OnedriveMapper from a shortcut"},"content":{"rendered":"<p>In some cases, your users might not want to use OnedriveMapper as a logon script, but want to manually start it, or both.<\/p>\n<p>Powershell execution policy, and generally the complexity involved for most users in starting scripts can be avoided by building a &#8216;smart&#8217; shortcut to the script with the following line as the &#8216;target&#8217;:<\/p>\n<p>%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -WindowStyle Hidden -ExecutionPolicy ByPass -File &#8220;C:\\Program Files (x86)\\Lieben.nu\\OnedriveMapper\\OnedriveMapper_v3.17.ps1&#8221;<\/p>\n<p>Obviously you&#8217;ll have to modify the path used there \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In some cases, your users might not want to use OnedriveMapper as a logon script, but want to manually start it, or both. Powershell execution policy, and generally the complexity involved for most users in starting scripts can be avoided by building a &#8216;smart&#8217; shortcut to the script with the following line as the &#8216;target&#8217;: &hellip; <a href=\"https:\/\/lieben.nu\/liebensraum\/2016\/10\/running-onedrivemapper-from-a-shortcut\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Running OnedriveMapper from a shortcut<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[35],"tags":[],"class_list":["post-1077","post","type-post","status-publish","format-standard","hentry","category-onedrivemapper"],"_links":{"self":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/1077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/comments?post=1077"}],"version-history":[{"count":0,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/1077\/revisions"}],"wp:attachment":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/media?parent=1077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/categories?post=1077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/tags?post=1077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}