{"id":586,"date":"2015-07-15T15:15:52","date_gmt":"2015-07-15T21:15:52","guid":{"rendered":"http:\/\/blog.escarra.org\/?p=586"},"modified":"2016-01-28T15:16:23","modified_gmt":"2016-01-28T21:16:23","slug":"remote-sfb-powershell-administration","status":"publish","type":"post","link":"https:\/\/blog.escarra.org\/?p=586","title":{"rendered":"Remote SfB PowerShell Administration"},"content":{"rendered":"<p>No time to install Management Tools? Or just want to test your scripts locally without having to copy\/paste on the Front Ends or management nodes? This is what i do:<\/p>\n<pre>param(\r\n [string]$pool = $(Read-Host \"Lync\/SfB Pool\")\r\n )\r\n$Credential = Get-Credential\r\n $PSSessionOption = New-PSSessionOption -SkipCACheck:$true -SkipCNCheck:$true -SkipRevocationCheck:$true\r\n $PSSession = New-PSSession -ConnectionUri https:\/\/$pool\/ocspowershell -Credential $Credential -SessionOption $PSSessionOption\r\n Import-PSSession $PSSession<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>No time to install Management Tools? Or just want to test your scripts locally without having to copy\/paste on the Front Ends or management nodes? This is what i do: param( [string]$pool = $(Read-Host &#8220;Lync\/SfB Pool&#8221;) ) $Credential = Get-Credential $PSSessionOption = New-PSSessionOption -SkipCACheck:$true -SkipCNCheck:$true -SkipRevocationCheck:$true $PSSession = New-PSSession -ConnectionUri https:\/\/$pool\/ocspowershell -Credential $Credential -SessionOption $PSSessionOption [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-586","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Gonzalo Escarr\u00e1\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.escarra.org\/?p=586\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Gonzalo Escarr\u00e1&#039;s Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Remote SfB PowerShell Administration | Gonzalo Escarr\u00e1&#039;s Blog\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.escarra.org\/?p=586\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2015-07-15T21:15:52+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-01-28T21:16:23+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Remote SfB PowerShell Administration | Gonzalo Escarr\u00e1&#039;s Blog\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=586#article\",\"name\":\"Remote SfB PowerShell Administration | Gonzalo Escarr\\u00e1's Blog\",\"headline\":\"Remote SfB PowerShell Administration\",\"author\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/#organization\"},\"datePublished\":\"2015-07-15T15:15:52-06:00\",\"dateModified\":\"2016-01-28T15:16:23-06:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=586#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=586#webpage\"},\"articleSection\":\"Uncategorized\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=586#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.escarra.org\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?cat=1#listItem\",\"name\":\"Uncategorized\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?cat=1#listItem\",\"position\":2,\"name\":\"Uncategorized\",\"item\":\"https:\\\/\\\/blog.escarra.org\\\/?cat=1\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=586#listItem\",\"name\":\"Remote SfB PowerShell Administration\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=586#listItem\",\"position\":3,\"name\":\"Remote SfB PowerShell Administration\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?cat=1#listItem\",\"name\":\"Uncategorized\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/#organization\",\"name\":\"Gonzalo Escarr\\u00e1's Blog\",\"description\":\"Lync, networking, UC, VoIP, and some other hacks.\",\"url\":\"https:\\\/\\\/blog.escarra.org\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?author=2#author\",\"url\":\"https:\\\/\\\/blog.escarra.org\\\/?author=2\",\"name\":\"Gonzalo Escarr\\u00e1\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=586#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/412a9d4cfb2f5ac9b4ab7f1aea403004a622f77692b19e40c7b3c23c5ed29124?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Gonzalo Escarr\\u00e1\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=586#webpage\",\"url\":\"https:\\\/\\\/blog.escarra.org\\\/?p=586\",\"name\":\"Remote SfB PowerShell Administration | Gonzalo Escarr\\u00e1's Blog\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=586#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?author=2#author\"},\"datePublished\":\"2015-07-15T15:15:52-06:00\",\"dateModified\":\"2016-01-28T15:16:23-06:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/#website\",\"url\":\"https:\\\/\\\/blog.escarra.org\\\/\",\"name\":\"Gonzalo Escarr\\u00e1's Blog\",\"description\":\"Lync, networking, UC, VoIP, and some other hacks.\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Remote SfB PowerShell Administration | Gonzalo Escarr\u00e1's Blog","description":"","canonical_url":"https:\/\/blog.escarra.org\/?p=586","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.escarra.org\/?p=586#article","name":"Remote SfB PowerShell Administration | Gonzalo Escarr\u00e1's Blog","headline":"Remote SfB PowerShell Administration","author":{"@id":"https:\/\/blog.escarra.org\/?author=2#author"},"publisher":{"@id":"https:\/\/blog.escarra.org\/#organization"},"datePublished":"2015-07-15T15:15:52-06:00","dateModified":"2016-01-28T15:16:23-06:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/blog.escarra.org\/?p=586#webpage"},"isPartOf":{"@id":"https:\/\/blog.escarra.org\/?p=586#webpage"},"articleSection":"Uncategorized"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.escarra.org\/?p=586#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.escarra.org#listItem","position":1,"name":"Home","item":"https:\/\/blog.escarra.org","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.escarra.org\/?cat=1#listItem","name":"Uncategorized"}},{"@type":"ListItem","@id":"https:\/\/blog.escarra.org\/?cat=1#listItem","position":2,"name":"Uncategorized","item":"https:\/\/blog.escarra.org\/?cat=1","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.escarra.org\/?p=586#listItem","name":"Remote SfB PowerShell Administration"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.escarra.org#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.escarra.org\/?p=586#listItem","position":3,"name":"Remote SfB PowerShell Administration","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.escarra.org\/?cat=1#listItem","name":"Uncategorized"}}]},{"@type":"Organization","@id":"https:\/\/blog.escarra.org\/#organization","name":"Gonzalo Escarr\u00e1's Blog","description":"Lync, networking, UC, VoIP, and some other hacks.","url":"https:\/\/blog.escarra.org\/"},{"@type":"Person","@id":"https:\/\/blog.escarra.org\/?author=2#author","url":"https:\/\/blog.escarra.org\/?author=2","name":"Gonzalo Escarr\u00e1","image":{"@type":"ImageObject","@id":"https:\/\/blog.escarra.org\/?p=586#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/412a9d4cfb2f5ac9b4ab7f1aea403004a622f77692b19e40c7b3c23c5ed29124?s=96&d=mm&r=g","width":96,"height":96,"caption":"Gonzalo Escarr\u00e1"}},{"@type":"WebPage","@id":"https:\/\/blog.escarra.org\/?p=586#webpage","url":"https:\/\/blog.escarra.org\/?p=586","name":"Remote SfB PowerShell Administration | Gonzalo Escarr\u00e1's Blog","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/blog.escarra.org\/#website"},"breadcrumb":{"@id":"https:\/\/blog.escarra.org\/?p=586#breadcrumblist"},"author":{"@id":"https:\/\/blog.escarra.org\/?author=2#author"},"creator":{"@id":"https:\/\/blog.escarra.org\/?author=2#author"},"datePublished":"2015-07-15T15:15:52-06:00","dateModified":"2016-01-28T15:16:23-06:00"},{"@type":"WebSite","@id":"https:\/\/blog.escarra.org\/#website","url":"https:\/\/blog.escarra.org\/","name":"Gonzalo Escarr\u00e1's Blog","description":"Lync, networking, UC, VoIP, and some other hacks.","inLanguage":"en-US","publisher":{"@id":"https:\/\/blog.escarra.org\/#organization"}}]},"og:locale":"en_US","og:site_name":"Gonzalo Escarr\u00e1's Blog","og:type":"article","og:title":"Remote SfB PowerShell Administration | Gonzalo Escarr\u00e1's Blog","og:url":"https:\/\/blog.escarra.org\/?p=586","article:published_time":"2015-07-15T21:15:52+00:00","article:modified_time":"2016-01-28T21:16:23+00:00","twitter:card":"summary","twitter:title":"Remote SfB PowerShell Administration | Gonzalo Escarr\u00e1's Blog"},"aioseo_meta_data":{"post_id":"586","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-04-13 20:16:25","updated":"2025-06-04 07:49:26","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.escarra.org\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.escarra.org\/?cat=1\" title=\"Uncategorized\">Uncategorized<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRemote SfB PowerShell Administration\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.escarra.org"},{"label":"Uncategorized","link":"https:\/\/blog.escarra.org\/?cat=1"},{"label":"Remote SfB PowerShell Administration","link":"https:\/\/blog.escarra.org\/?p=586"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/posts\/586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=586"}],"version-history":[{"count":3,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/posts\/586\/revisions"}],"predecessor-version":[{"id":589,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/posts\/586\/revisions\/589"}],"wp:attachment":[{"href":"https:\/\/blog.escarra.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}