Skip to content

Factory.ps1: Copy-Item and Out-File path not supported #43

@Drakrilla

Description

@Drakrilla

Error while running Factory.ps1 (latest version).


Copy-Item : The given path's format is not supported.
At D:\ImageFactory\Factory.ps1:840 char:13

  •         Copy-Item "$($ResourceDirectory)\bits" -Destination ($dri ...
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Copy-Item], NotSupportedException
    • FullyQualifiedErrorId : System.NotSupportedException,Microsoft.PowerShell.Commands.CopyItemCommand

Out-File : The given path's format is not supported.
At D:\ImageFactory\Factory.ps1:842 char:43

  • ... ceHolders | Out-File -FilePath "$($driveLetter):\Bits\Logon.ps1" -Wid ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OpenError: (:) [Out-File], NotSupportedException
    • FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions