{"id":16,"date":"2012-05-31T15:00:16","date_gmt":"2012-05-31T15:00:16","guid":{"rendered":"https:\/\/sharepointhacker.com\/?p=16"},"modified":"2012-05-31T15:00:37","modified_gmt":"2012-05-31T15:00:37","slug":"running-powershell-scripts","status":"publish","type":"post","link":"https:\/\/sharepointhacker.com\/?p=16","title":{"rendered":"Running Powershell Scripts"},"content":{"rendered":"<p>Simple but I almost always have to go back and &#8220;remember&#8221; after a month or two of not working with Powershell.<\/p>\n<p>To run a Powershell\u00a0script don&#8217;t\u00a0forget\u00a0to put .\\ in front of your script name if you are running it from the directory it is located at. For example:<\/p>\n<p>[code] .\\CopyContent.ps1[\/code]<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple but I almost always have to go back and &#8220;remember&#8221; after a month or two of not working with Powershell. To run a Powershell\u00a0script don&#8217;t\u00a0forget\u00a0to put .\\ in front of your script name if you are running it from the directory it is located at. For example: [code] .\\CopyContent.ps1[\/code] &nbsp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[7,11],"tags":[],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-admin","category-powershell"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p289k1-g","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/sharepointhacker.com\/index.php?rest_route=\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sharepointhacker.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sharepointhacker.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sharepointhacker.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sharepointhacker.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16"}],"version-history":[{"count":6,"href":"https:\/\/sharepointhacker.com\/index.php?rest_route=\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/sharepointhacker.com\/index.php?rest_route=\/wp\/v2\/posts\/16\/revisions\/96"}],"wp:attachment":[{"href":"https:\/\/sharepointhacker.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sharepointhacker.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sharepointhacker.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}