- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Array Setup and Networking
- >
- Re: PowerShell Module
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2014 11:33 AM
тАО01-29-2014 11:33 AM
Re: PowerShell Module
weird, i've tested with both 3 and 4, and it doesnt populate the quotes as it should, but it does run correctly when i give it the quotes.
the code was last published on the 22nd.
I'll clear out everything i've got and run a few more tests.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2014 01:40 PM
тАО01-29-2014 01:40 PM
Re: PowerShell Module
do you tab complete it and then slap quotes around it or have you been typing it out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2014 03:22 PM
тАО01-29-2014 03:22 PM
Re: PowerShell Module
Just made a modification to the utility.ps1, which might help fix the issue, not completely, you'll still have to manually add quotes, but it should at least make that work now.
also, make sure you are connected to the unit first, I just realized that if its not connected it wont create the param, i'll have to find a way around this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2014 03:33 PM
тАО01-29-2014 03:33 PM
Re: PowerShell Module
Justin,
So far so good. I have not tried it with the script variables but definitely works when manually specifying with quotes.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2014 04:47 PM
тАО01-29-2014 04:47 PM
Re: PowerShell Module
Great let me know if you run in to any other issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2014 08:55 AM
тАО02-13-2014 08:55 AM
Re: PowerShell Module
Would it be possible to get a self-contained version (ZIP file) that could be installed via USB w/o Internet access?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2014 09:13 AM
тАО02-13-2014 09:13 AM
Re: PowerShell Module
If you go to this GitHub link you can click Download Zip (button is the last one on the right).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2014 10:19 AM
тАО02-13-2014 10:19 AM
Re: PowerShell Module
you could also install it locally and then zip up the Nimble folder in your module folder inside your my documents. The advantage there is you dont get any of the unnecessary stuff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2014 10:55 AM
тАО02-14-2014 10:55 AM
Re: PowerShell Module
This is incredible. Nice work Justin. How did you make such a beautiful animated gif?
Oh the powershell module is cool too.
Is your module signed? Want to try this out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2014 01:09 PM
тАО02-14-2014 01:09 PM
Re: PowerShell Module
Gifcam
and no its not signed, i dont have the $300 to drop on a code signing cert... you're welcome to buy one for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2014 01:11 PM
тАО02-14-2014 01:11 PM
Re: PowerShell Module
I just may it's that cool!
Sorry I didn't mean to come off like a jerk just wanted to know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2014 01:22 PM
тАО02-14-2014 01:22 PM
Re: PowerShell Module
well maybe the nimble folks can pitch in and get me one since im doing the work for them
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2014 01:49 PM
тАО02-14-2014 01:49 PM
Re: PowerShell Module
Justin, you can get one pretty cheap from StartCom. That's where I got mine. They provide free trusted SSL certs for websites. The code signing ones are free too, but you have to have a second level ID check which is like $50.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2014 02:09 PM
тАО02-14-2014 02:09 PM
Re: PowerShell Module
very cool, i'll have to check that out!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2014 06:03 PM
тАО03-17-2014 06:03 PM
Re: PowerShell Module
I am working with Nimble PowerShell module, and am curious if it can allow you to work with volume collections? The volume that I am wanting to snap/clone has SQL Databases. I want to be able to have the snapshot VSS aware so the databases can be brought online in a good state. Any recommendations?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2014 01:43 PM
тАО03-21-2014 01:43 PM
Re: PowerShell Module
Volume Collection snapshot was added to the new-nssnapshot
also is anyone using this on 2.0.7.0?
I just updated and it seems like it broke the new-nsvolume?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2014 03:05 PM
тАО04-11-2014 03:05 PM
Re: PowerShell Module
Hey Justin,
Can you add Set-NSVolumeACL?
I've tried to use $acl = Get-NSVolumeACL <vol>
$acl.InitiatorGrp = "<new acl>"
$acl.set
But it doesn't update the properties on the Array.
It will update the value of the object in PowerShell, can be demonstrated by running $acl before and after the $acl.InitiatorGrp... Also, $acl.set doesn't throw an error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2014 03:29 PM
тАО04-11-2014 03:29 PM
Re: PowerShell Module
I believe Justin already included a way to update the ACL for Nimble Volumes.
Add-NSInitiatorGroupToVolume -InitiatorGroup (String) -Volume (string) -Access Volume
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2014 03:31 PM
тАО04-11-2014 03:31 PM
Re: PowerShell Module
Justin,
I am wanting to update arrays to 2.x, are we safe to utilize the same module?
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2014 04:15 PM
тАО04-11-2014 04:15 PM
Re: PowerShell Module
Right!
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2014 12:16 PM
тАО04-14-2014 12:16 PM
Re: PowerShell Module
Its not safe but im working on the module now, because I need it too. I should hopefully have something posted by tomorrow.
I dont know why, but i've stopped getting emails when there are new messages so i apologize about the delays!
i'll have to poke around my profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2014 06:06 AM
тАО05-27-2014 06:06 AM
Re: PowerShell Module
Hi Justin
I am trying to replicate the volume collection can it be done? Ive tried doing it but it just creates the volume collection snapshots and does not replicate it.
Ive tried -replicate as a common parameter but doesn't work
New-NSSnapshot -name repl -VolumeCollection xxxxxxxxxxxx -replicate
Thanks
New-NSSnapshot [-Name] <String> [-VolumeCollection] <String> [-Description
<Object>] [-Online] [-Writable] [<CommonParameters>]
DESCRIPTION
Takes a new snapshot of a specified volume, allowing you to control if its
writeable and if its online or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2014 04:25 PM
тАО05-30-2014 04:25 PM
Re: PowerShell Module
I didnt impliment any replication functionality, because I didnt have any way to test it.
I dont work at the same company any more and dont currently have access to any nimble storage to write/test any additions.
I hope to get access to a unit in the not to distant future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2014 10:51 PM
тАО06-03-2014 10:51 PM
Re: PowerShell Module
Hi Justin,
I wonder if its as easy as adding another switch like online and writeable in the snap ps script just call it replicate not really sure as I am not a powershell expert so would appreciate any help and I can test it here, might be useful for other users too. At the moment I've written another script using the powershell ssh module but would rather use this method if we can get it working.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2014 12:38 PM
тАО06-04-2014 12:38 PM
Re: PowerShell Module
So, the CommonParameters has to do with cmdletbinding, and its for stuff like -verbose
http://technet.microsoft.com/en-us/library/hh847884.aspx
As far as adding replication, thats not a feature of the snapshot, so it would end up as a separate cmdlet.
its probably not too horrible to write, but without having access to a pair of units, I wouldnt be able to test it.