Skip to content

Conversation

@DariusHutchison
Copy link

No description provided.

Copy link
Owner

@freemansoft freemansoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted a couple of typos and asked for a couple of lines that describe how to execute it using the external config file.


function defaultPrompt {
if ($null -eq $ConfigFile) {
$DefaultPrompt = Read-Host = "Would you like to load the default values to the config file? (Y/N)"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this going to save defaults to a config file or load them from a config file. I'm not sure from the prompt.

$Script:StorageSpacesParams | ConvertTo-Json | Out-File $PSScriptRoot + "\TieredStorageSpace-Config.json"
}
elseif ($DefaultPrompt.ToUpper() -eq "N") {
Read-Host "Ether pass the config file to the script or use default values. Exiting..."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Ether" should be "Either"

@@ -1,8 +1,11 @@
# Create Storage Spaces in Windows 10

<!--TODO: Update README documrntaion to match new scripts usage. /--->
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

documrntation should be "documentation".

# Scripts
## new-storage-space.ps1
## New-TieredStorageSpace.ps1
Creates a tiered storage pool and allocates all the disk space to a single drive
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a line here or at the top that tells us how to run the script with the external configuration file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants