Giter Site home page Giter Site logo

mstasiw / build-win-print-queues Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 51 KB

Automates the building of Windows Print Queues which conform to a standard by obtaining input from CLI

License: GNU Lesser General Public License v2.1

PowerShell 100.00%
excel job-related powershell print-queue printer printqueue windows xerox powerquery powerquerym

build-win-print-queues's People

Contributors

mstasiw avatar

Watchers

 avatar

build-win-print-queues's Issues

Unintended Interpretation of Quotation Marks

$Comments += " | Config='BASIC PRINTING MODE' DUE TO UNREACHABLE AT TIME OF QUEUE CREATION"

Stdout Extract from Executing Add-PrintQueue-FromCSV.ps1

PS P:\Scripts> .\Add-PrintQueue-FromCSV.ps1 -CSVFilePath '..\CA07087W8500D2A_Build Queues.csv'
Creating Print Queue "DC07087-PTR101" for "dc07087-ptr101.s07087.ca.wal-mart.com" ...
Creating Print Queue "DC07087-PTR102" for "dc07087-ptr102.s07087.ca.wal-mart.com" ...
Creating Print Queue "DC07087-PTR103" for "dc07087-ptr103.s07087.ca.wal-mart.com" ...
Creating Print Queue "DC07087-PTR103-SECURED" for "dc07087-ptr103.s07087.ca.wal-mart.com" ...
WARNING: DC07087-PTR104.s07087.ca.wal-mart.com is unreachable!
**********************
Command start time: 20230727031712
**********************
PS P:\Scripts> TerminatingError(Add-PrintQueue.ps1): "Cannot process argument transformation on parameter 'SecurePrint'. Cannot convert value "System.String" to type "System.Management.Automation.SwitchParameter". Boolean parameters accept only Boolean values and numbers, such as $True, $False, 1 or 0."
P:\Scripts\Add-PrintQueue.ps1 : Cannot process argument transformation on parameter 'SecurePrint'. Cannot convert value 
"System.String" to type "System.Management.Automation.SwitchParameter". Boolean parameters accept only Boolean values 
and numbers, such as $True, $False, 1 or 0.
At line:1 char:311
+ ... Dept. | 7295 West Credit Ave, Mississauga, ON | Config='BASIC PRINTIN ...
+                                                             ~~~~~
    + CategoryInfo          : InvalidData: (:) [Add-PrintQueue.ps1], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Add-PrintQueue.ps1
P:\Scripts\Add-PrintQueue.ps1 : Cannot process argument transformation on parameter 'SecurePrint'. Cannot convert
value "System.String" to type "System.Management.Automation.SwitchParameter". Boolean parameters accept only Boolean
values and numbers, such as $True, $False, 1 or 0.
At line:1 char:311
+ ... Dept. | 7295 West Credit Ave, Mississauga, ON | Config='BASIC PRINTIN ...
+                                                             ~~~~~
    + CategoryInfo          : InvalidData: (:) [Add-PrintQueue.ps1], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Add-PrintQueue.ps1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.