GithubHelp home page GithubHelp logo

dscr_shortcut's People

Contributors

mkht avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jilano5 ctmcisco

dscr_shortcut's Issues

Compile C# modules ahead of time

Hi, is it possible to pre-compile the ShellLink.cs and VKeyUtil.cs into a .dll? Currently, this module takes about 800 ms to load on my machine, which is quite slow.

It should be enough to just target netstandard2.0 and import the .dll instead of using Add-Type. Everything should work exactly as now, just with faster startup.

I can do a PR if you're ok with that.

PSSA Issue from PowerShell Gallery Admins

Method not found: 'System.Collections.Generic.List1 Microsoft.PowerShell.DesiredStateConfiguration.Internal.DscClassCache.ImportClasses(System.String, System.Tuple2, System.Collections.ObjectModel.Collection`1)'.

Get-TargetResourceを実行するとエラーになる

Invoke-DscResourceを使ってGetを直接実行するとエラーが発生

Invoke-DscResource -ModuleName DSCR_Shortcut -Name cShortcut -Method Get -Property $para

プロパティの 'HotKey' 値を型 'STRING' から型 'STRING[]' に変換できませんでした
 行:15、文字:2
 バッファー:
irectResourceAccess";
};^
insta
    + CategoryInfo          : SyntaxError: (root/Microsoft/...gurationManager:String) [], CimException
    + FullyQualifiedErrorId : MiClientApiError_Failed
    + PSComputerName        : localhost

Target property is not matched / Remove existing shortcut file

Hi,
Thank you for putting this together. Seeing something a little strange. I have a simple shortcut need that keeps failing the test process of DSC.

The DSC works, it creates the proper shortcut and the shortcut works, but it always fails the test with the following error "Target property is not matched"

I'm only specifying the following:

cShortcut "cShortcut_$($ConfigurationBaseName)_shortcut"

{
Path = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Log Parser Studio.lnk" 
Target = "C:\Blah\IT\Infrastructure Services\SysAdmins\DSC\Download Cache\Microsoft\LogParser Studio\2.0.0.100\LPS.exe"
}

Any idea what i might be doing wrong? Like I said,the shortcut does work and it does exist, it just fails the test process.

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.