{"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_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/posts\/586"}],"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}]}}