How to Add PowerShell 4 Storage module cmdlets to 'Win7/PS3?

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
This topic is 9 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
PrairieDawg
Posts: 9
Last visit: Fri Dec 20, 2019 3:23 am

How to Add PowerShell 4 Storage module cmdlets to 'Win7/PS3?

Post by PrairieDawg »

I am evaluating PowerShell Studio (PSS) 2014, and fully intend to buy ASAP.

I am writing a PowerShell 4 script that is targeted for a Win 8.1 environment (actually a WinPE 5.1 built from Win 8.1.)

In the PSS 2014 Object Browser, I can't find any of the Storage module Cmdlets, like Get-Partition. I believe the Storage Module is from Power Shell 4.

I am developing on a Windows 7 PC that only has PowerShell 3 installed.

Question: How can get get the Object Browser in PSS to support the PowerShell 4 Storage Cmdlets? Do I need to export them from an instance of Windows 8.1 on another system, e.g. a VM running Win 8.1?
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: How to Add PowerShell 4 Storage module cmdlets to 'Win7/

Post by davidc »

The following blog articles show cover how to import the modules cache of another machine.

http://www.sapien.com/blog/?s=developin ... r+machines


David
David
SAPIEN Technologies, Inc.
User avatar
PrairieDawg
Posts: 9
Last visit: Fri Dec 20, 2019 3:23 am

Re: How to Add PowerShell 4 Storage module cmdlets to 'Win7/

Post by PrairieDawg »

Thanks. I will try this module import/export tool.

I also just found the new OneGet feature in Windows Management Framework V5 Preview. It looks like a good solution for getting "net new" modules not on any of my PCs or VMs.
This topic is 9 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.