Search found 11 matches

by MBerthe
Mon Nov 02, 2020 7:08 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: PowerShell and HA device
Replies: 3
Views: 2631

Re: PowerShell and HA device

Hi,
If this subject interest someone, you can find the response of R&D teams:
This command was depreciated
I have lose so many time on this...
by MBerthe
Sun Nov 01, 2020 2:50 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: PowerShell and HA device
Replies: 3
Views: 2631

PowerShell and HA device

Hello, I try to manage HA device with Powershell on Starwind VSAN (13861). I know that there is a sample script CreateHA_*.ps1 that manage this but there is some limitation on this script I would like to go beyong. I want to use the New-HAImageFile applet form the StarWinX module: New-HAImageFile -s...
by MBerthe
Tue Apr 28, 2020 6:55 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: How to retrieve HA Device Serial-Id via powershell?
Replies: 10
Views: 6268

Re: How to retrieve HA Device Serial-Id via powershell?

Hi Michael,
I have already manage this null characters in my code with

Code: Select all

-replace "`0",""
Thanks for your reply, take care
by MBerthe
Thu Apr 16, 2020 1:58 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWind and Powershell
Replies: 8
Views: 5387

Re: StarWind and Powershell

Thanks Yaroslav :)
This help file is more for .Net developer.
Can you ask for create a more Powershell oriented help?
by MBerthe
Thu Apr 16, 2020 1:53 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: How to retrieve HA Device Serial-Id via powershell?
Replies: 10
Views: 6268

Re: How to retrieve HA Device Serial-Id via powershell?

Hi, If you want to find the serial number of a StarWind Disk, you can use this script part: $DeviceToCreateFilePath="My Computer\C\StarWind" $DeviceToCreateFileName="ImageFile01" [XML]$ImageFileConfig = (Get-Content -Path "$(($DeviceToCreateFilePath.Substring(("My Compu...
by MBerthe
Tue Apr 14, 2020 6:32 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: How to retrieve HA Device Serial-Id via powershell?
Replies: 10
Views: 6268

Re: How to retrieve HA Device Serial-Id via powershell?

Hi,
I wrote a little tricky PS script already, thanx again =]
serhiogo, can you share your script?
Thanks a lot. :D
by MBerthe
Mon Apr 13, 2020 11:22 am
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWind and Powershell
Replies: 8
Views: 5387

Re: StarWind and Powershell

Hi, For the moment, I don't have HA. I have only one server and I try to manage all settings by Powershell. I have a project with a customer to deploy 4 clusters from 2 to 8 node On Windows Server 2019 and StarWind V8. This is why I would like to manage everything by PowerShell. For your information...
by MBerthe
Mon Apr 13, 2020 9:43 am
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWind and Powershell
Replies: 8
Views: 5387

Re: StarWind and Powershell

Hi, Thanks for your help. I have check all script in C:\Program Files\StarWind Software\StarWind\StarWindX\Samples\powershell and read a lot of article in the help https://www.starwindsoftware.com/help. I found also examples on GitHub https://github.com/search?p=2&q=StarWindX&type=Code I'll ...
by MBerthe
Sun Apr 12, 2020 6:09 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWind and Powershell
Replies: 8
Views: 5387

Re: StarWind and Powershell

Hi I found light information with Get-command -Module *Starwind*. But, I don't found information about properties and method. For example, I would like to attach a device to a target. I found that a target have a method AttachDevice but I don't find how to use it. The script below work but the line ...
by MBerthe
Sun Apr 12, 2020 12:54 pm
Forum: StarWind Virtual SAN (VSAN) [+Free], HCI Appliance (HCA), Virtual HCI Appliance (VHCA) [+Free]
Topic: StarWind and Powershell
Replies: 8
Views: 5387

StarWind and Powershell

Hi, I refresh my Home lab during this containment period. I would like to deploy and configure StarWind with Powershell. On a Windows 2019 test server, I have deployed a StarWind Virtual San Free V8.0.13481. I try to found a tech document on managing StarWind with Powershell. The only documents I fo...
by MBerthe
Wed Nov 18, 2009 6:22 pm
Forum: StarWind Tape Redirector
Topic: ATTN: SPTI mode (especially for tape drives sharing)
Replies: 7
Views: 50823

Re: ATTN: SPTI mode (especially for tape drives sharing)

Hi,
Where is it possible to get PResTest v1.0 ?
I would like to check TrueMaximumTransfer on some system for improve performance.
Thanks a lot.