Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,203 +24,30 @@ Any user who will access MobileShell needs to be a member of the PowerGUI Mobile

With your MobileShell users configured, you can now associate PowerPacks with different AD users and groups.  When a user logs on to MobileShell, they are presented with any PowerPacks that are associated with their user account or with any groups in which their user account is a member. MobileShell PowerPack configuration is done via a simple xml file.  The file does not exist by default, so you need to create it.  Invoke the following PowerShell script on your MobileShell server to create and open the configuration xml file:

```powershell
$programDataPath = [Environment]::GetFolderPath('CommonApplicationData')
$powerGUIDataPath = 'Quest Software\PowerGUI Pro'
$folder = Join-Path -Path $programDataPath -ChildPath $powerGUIDataPath

`$programDataPath

=

[

Environment

]::

GetFolderPath

(

'

CommonApplicationData

'

)


$powerGUIDataPath

=

'

Quest Software\PowerGUI Pro

'


$folder

=

Join-Path

-Path

$programDataPath

-ChildPath

$powerGUIDataPath


if

(

-not

(

Test-Path

-LiteralPath

$folder

)) {


    New-Item

-ItemType

Directory

-Path

$folder

|

Out-Null


if (-not (Test-Path -LiteralPath $folder)) {
New-Item -ItemType Directory -Path $folder | Out-Null
}

$configPath = Join-Path -Path $folder -ChildPath 'MobileShellConfig.xml'

$configPath

=

Join-Path

-Path

$folder

-ChildPath

'

MobileShellConfig.xml

'


$configuration

=

@"


$configuration = @"
<?xml version="1.0" encoding="utf-8"?>






































  <!--




















  -->


<!--
-->
"@

$configuration | Out-File -FilePath $configPath -Encoding UTF8

$configuration

|

Out-File

-FilePath

$configPath

-Encoding

UTF8


notepad

$configPath
notepad $configPath
```

`Once you have the configuration file open, you will see the layout that is used to associate AD user or group SIDs with PowerPacks.  Copy all of the core PowerPacks that you have in the PowerPacks subfolder of your PowerGUI Pro installation folder that you want to use via the MobileShell UI into the same path where this file was created (the value of the $folder variable in the script above contains this path).  Then modify this file to contain only the PowerPacks you copied over, update the first User SID for your user account, and this will finish off the initial configuration of PowerPacks for MobileShell.  If you want to add additional users, you can copy and paste the User node in the XML document and then modify the SID for the users you add.  Retrieving a SID should be an easy task of course: simply use Get-QADUser from the Quest AD cmdlets!![Smile](http://kirkmunro.files.wordpress.com/2011/05/wlemoticon-smile.png?w=595)
Once you have the configuration file open, you will see the layout that is used to associate AD user or group SIDs with PowerPacks.  Copy all of the core PowerPacks that you have in the PowerPacks subfolder of your PowerGUI Pro installation folder that you want to use via the MobileShell UI into the same path where this file was created (the value of the $folder variable in the script above contains this path).  Then modify this file to contain only the PowerPacks you copied over, update the first User SID for your user account, and this will finish off the initial configuration of PowerPacks for MobileShell.  If you want to add additional users, you can copy and paste the User node in the XML document and then modify the SID for the users you add.  Retrieving a SID should be an easy task of course: simply use Get-QADUser from the Quest AD cmdlets!![Smile](http://kirkmunro.files.wordpress.com/2011/05/wlemoticon-smile.png?w=595)

Note: With this beta release there is a bug in the Groups support in this configuration document, so simply associate PowerPacks to users for now.  Thanks!

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ aliases:

#### Chatroom Buzz

<BellyTimber> <http://poshcode.org/4325>
\<BellyTimber\> <http://poshcode.org/4325>
 <http://webbrain.com/brainpage/brain/4685C1B4-FE68-2D62-3AFA-CE674E67F742#-638>
<MikeFRobbins> irm -Uri http://feeds.feedburner.com/PowerScripting | where title -like \*jim\*christopher* | select title
\<MikeFRobbins\> irm -Uri http://feeds.feedburner.com/PowerScripting | where title -like \*jim\*christopher* | select title

 <http://scriptcs.net/>
 <http://www.nuget.org/>
Expand All @@ -113,7 +113,7 @@ aliases:

 <https://github.com/scriptcs/scriptcs-samples/tree/master/wpf>
scriptcs sublime plugin - <https://github.com/scriptcs/scriptcs-sublime>
<beefarino> ouch: <http://visualstudiomagazine.com/articles/2013/08/07/devs-angry-over-msdn-redesign.aspx>
\<beefarino\> ouch: <http://visualstudiomagazine.com/articles/2013/08/07/devs-angry-over-msdn-redesign.aspx>
scriptcs webapi script pack + example <https://github.com/scriptcs/scriptcs-webapi>
 <http://www.youtube.com/watch?v=cKqKrH0O9yg>
 <http://msdn.microsoft.com/en-us/library/dd460648.aspx>
Expand All @@ -122,39 +122,39 @@ aliases:
Re Roslyn check out this session from PDC \*\*08\*\* at about time index 1:04:00 <http://channel9.msdn.com/Blogs/pdc2008/TL16>
 [http://en.wikipedia.org/wiki/Virtual_Audio_Cable][2]
Jaykul: It's pretty interesting. He mentions that there is a little Roslyn in VS2013. The Roslyn portion starts around 34minutes in. <http://channel9.msdn.com/Events/Build/2013/9-006>
<BellyTimber> <http://theoatmeal.com/blog/fix_computer>
<sepeck> BellyTimber: <http://channel9.msdn.com/> <-- has lots and lots of coding stuff on it as well
<ScriptingWife> <http://csharpening.net/>
<beefarino> BTW, here's the ScriptCS powershell module: <https://github.com/beefarino/ScriptCS-PowerShell-Module>
<MikeFRobbins> Here's my library: [http://mikefrobbins.files.wordpress.com/2013/08/library.jpg](http://mikefrobbins.files.wordpress.com/2013/08/library.jpg)
<sepeck> halr9000: <http://calibre-ebook.com/> makes it go away
<BellyTimber> <http://www.codinghorror.com/blog/2010/09/go-that-way-really-fast.html>
\<BellyTimber\> <http://theoatmeal.com/blog/fix_computer>
\<sepeck\> BellyTimber: <http://channel9.msdn.com/> <-- has lots and lots of coding stuff on it as well
\<ScriptingWife\> <http://csharpening.net/>
\<beefarino\> BTW, here's the ScriptCS powershell module: <https://github.com/beefarino/ScriptCS-PowerShell-Module>
\<MikeFRobbins\> Here's my library: [http://mikefrobbins.files.wordpress.com/2013/08/library.jpg](http://mikefrobbins.files.wordpress.com/2013/08/library.jpg)
\<sepeck\> halr9000: <http://calibre-ebook.com/> makes it go away
\<BellyTimber\> <http://www.codinghorror.com/blog/2010/09/go-that-way-really-fast.html>
http://www.hanselminutes.com/161/bbss-and-wildcat-from-mustang-software
we have an org, <https://github.com/scriptcs>
<11beefarino> #### this one is for beefarino: how does one maintain such a ruggedly handsome demeanor?
<11BellyTimber> ##What's the difference?
<1BrendanLiamT> ### will this be recorded?
<0halr9000> ## asdfasdfasdf
<2gblock> ##### hashmark people ####
<11BellyTimber> ## Will the beef guy have anymore brain teasers?
<11sepeck> ## link to scriptcs? site
<11BellyTimber> ## All the code gets compiled and outputs an exe?
<12DougFinke> ## LinqPad just announced a command line. Any thoughts? Have they approached you about using Scriptcs?
<5MarcoShaw> ## How "official" is ScriptCS? Will Server 2014 be written in ScriptCS? PowerShell first, then ScriptCS...
<0halr9000> ## like this: what's MEF
<6jrusbatch> ## Is scriptcs extensible at all?
<12DougFinke> ## Some folks are concerned that Scriptcs is built on Roslyn, a CTP and the ecosystem is not there. What do you think?
<0Jaykul> ## Is Roslyn EVER going to actually ship?
<0Jaykul> ## Why is ScriptCS built on Roslyn instead of Mono's (already shipped) REPL?
<0halr9000> that's what the ## are for
<0halr9000> json2: ### HASHMARK PEOPLE ####
<0halr9000> ## OCTOTHORPE PEOPLE ##
<0halr9000> ## json2: What's the "killer app" use case for ScriptCS? Give me a concrete example of something that I can use it for to solve a problem today.
<11sepeck> ## are you goign to do a singing quartet afterwards?
<3HalsWife> ##Blister in the Sun first pleasethankyou
<4Keith_> ## Do you thinking using Roslyn would allow you to build an effective in-app scripting solution complete with Intellisense and debugging similar to VBA?
<12json2> ## Doesnt Roslyn already permit loading/running .cs at runtime? What does ScriptCS add to the "WoW/LUA-like" scripting story?
<14ScriptingWife> ## Up Next Rob Willis and PowerShell Deployment Toolkit
\<11beefarino\> #### this one is for beefarino: how does one maintain such a ruggedly handsome demeanor?
\<11BellyTimber\> ##What's the difference?
\<1BrendanLiamT\> ### will this be recorded?
\<0halr9000\> ## asdfasdfasdf
\<2gblock\> ##### hashmark people ####
\<11BellyTimber\> ## Will the beef guy have anymore brain teasers?
\<11sepeck\> ## link to scriptcs? site
\<11BellyTimber\> ## All the code gets compiled and outputs an exe?
\<12DougFinke\> ## LinqPad just announced a command line. Any thoughts? Have they approached you about using Scriptcs?
\<5MarcoShaw\> ## How "official" is ScriptCS? Will Server 2014 be written in ScriptCS? PowerShell first, then ScriptCS...
\<0halr9000\> ## like this: what's MEF
\<6jrusbatch\> ## Is scriptcs extensible at all?
\<12DougFinke\> ## Some folks are concerned that Scriptcs is built on Roslyn, a CTP and the ecosystem is not there. What do you think?
\<0Jaykul\> ## Is Roslyn EVER going to actually ship?
\<0Jaykul\> ## Why is ScriptCS built on Roslyn instead of Mono's (already shipped) REPL?
\<0halr9000\> that's what the ## are for
\<0halr9000\> json2: ### HASHMARK PEOPLE ####
\<0halr9000\> ## OCTOTHORPE PEOPLE ##
\<0halr9000\> ## json2: What's the "killer app" use case for ScriptCS? Give me a concrete example of something that I can use it for to solve a problem today.
\<11sepeck\> ## are you goign to do a singing quartet afterwards?
\<3HalsWife\> ##Blister in the Sun first pleasethankyou
\<4Keith_\> ## Do you thinking using Roslyn would allow you to build an effective in-app scripting solution complete with Intellisense and debugging similar to VBA?
\<12json2\> ## Doesnt Roslyn already permit loading/running .cs at runtime? What does ScriptCS add to the "WoW/LUA-like" scripting story?
\<14ScriptingWife\> ## Up Next Rob Willis and PowerShell Deployment Toolkit

#### The Question -

Expand Down
Loading