Skip to content

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

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

Activity

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

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